how many compound primitive types?

PHP supports how many compound primitive types?

PHP supports how many compound primitive types?

A.
two

B.
three

C.
four

D.
five

E.
six

F.
seven

Explanation:

PHP supports eight primitive types.
Four scalar types:
Boolean
Integer
floating-point number (float)
string

Two compound types:
Array
Object
And finally two special types:
Resource
NULL



Leave a Reply 0

Your email address will not be published. Required fields are marked *