What will be the output value of the following code?
What will be the output value of the following code? $array = array(1,2,3); while (list(,$v) =
each($array)); var_dump(current($array));
What will be the output of the following code?
What will be the output of the following code? $a = array(0, 1, 2 => array(3, 4)); $a[3] =
array(4, 5); echo count($a, 1);
Which function will remove the value 28 from $a?
Given the following array: $a = array(28, 15, 77, 43); Which function will remove the value
28 from $a?
The constructs for(), foreach(), and each() can all be used to iterate an object if the object…
The constructs for(), foreach(), and each() can all be used to iterate an object if the object…
Which parts of the text are matched in the following regular expression?
Which parts of the text are matched in the following regular expression? $text = <<<EOT
The big bang bonged under the bung. EOT; preg_match_all(‘@b.n?g@’, $text, $matches);
What will the following code piece print?
What will the following code piece print? echo strtr(‘Apples and bananas’, ‘ae’, ‘ea’)
Which function do you choose?
You want to parse a URL into its single parts. Which function do you choose?
Which elements does the array returned by the function pathinfo() contain?
Which elements does the array returned by the function pathinfo() contain?
What will the following function call print?
What will the following function call print? printf(‘%010.6f’, 22);
What is the output of the following code?
What is the output of the following code? echo 0x33, ‘ monkeys sit on ‘, 011, ‘ trees.’;