Which of the following statements are FALSE?
Which of the following statements are FALSE?
What DOM method is used to load HTML files?
What DOM method is used to load HTML files?
What is the output of the following code?
What is the output of the following code? for ($i = 0; $i < 1.02; $i += 0.17) { $a[$i] = $i; }
echo count($a);
What will be the value of $a?
After performing the following operations: $a = array(‘a’, ‘b’, ‘c’); $a =
array_keys(array_flip($a)); What will be the value of $a?
PHP’s array functions such as array_values() can be used on an object if the object…
PHP’s array functions such as array_values() can be used on an object if the object…
Which is the most efficient way to determine if a key is present in an array, assuming the array has no NULL v
Which is the most efficient way to determine if a key is present in an array, assuming the
array has no NULL values?
An object can be counted with count() and sizeof() if it…
An object can be counted with count() and sizeof() if it…
Which value will be assigned to the key 0 in this example?
Which value will be assigned to the key 0 in this example? $foo = array(true, ‘0’ => false,
false => true);
What will be the result of the following operation?
What will be the result of the following operation? array_combine(array(“A”,”B”,”C”),
array(1,2,3));
Which of the following expressions will evaluate to a random value from an array below?
Which of the following expressions will evaluate to a random value from an array below?
$array = array(“Sue”,”Mary”,”John”,”Anna”);