PrepAway - Latest Free Exam Questions & Answers

how many scalar primitive types?

PHP supports how many scalar primitive types?

PrepAway - Latest Free Exam Questions & Answers

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