+1 vote
in PHP by
Which of the following function in PHP can be used to test the type of any variable?

a) showtype()

b) gettype()

c) settype()

d) None of the above

1 Answer

0 votes
by

b) gettype()

Description: The gettype() function is an inbuilt function in PHP, and as its name implies, it returns the type of a variable. The gettype() function in PHP is used to check the type of existing variable.

...