Which variable type can NOT be used as a type hint?
Correct Answer: resource
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP MCQ Questions
What's the output? 'green', 'red', 'blue'); $array2 = array('b' => 'green', 'yellow', 'red'); $result = array_intersect($array1, $array2); print_r($result); ?>
$a = array('pomme', 'banane'); $b = array(1 => 'banane', '0' => 'pomme'); var_dump($a === $b); What does-it print ?
How do you instantiate a new object from class foo? class foo { function do_foo() { echo 'Doing foo.'; } }
sound(); return strtoupper($sound); } function sound(); } class Dog extends Animal { function sound() { return "Woof!"; } } $dog = new Dog(); echo $dog->greeting(); ?>
What's the output? 20, 1 => 36, 40); array_rand ($a); echo $a[0]; ?>
What will be the output of the following PHP code? <?php $fruits = array ("mango", "apple", "peach", "pear"); $fruits = asort ($fruits); printr ($fruits); ?>
Which number of primitive types does PHP support?
What's the output? $a = 'clue'; $a .= 'get'; echo '$a';
What is the standard PHP function to send emails?
file_exists() will return false when