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);
Correct : C
Start a Discussions
Given the following array:
$a = array(28, 15, 77, 43);
Which function will remove the value 28 from $a?
Correct : A
Start a Discussions
The constructs for(), foreach(), and each() can all be used to iterate an object if the object...
Correct : C
Start a Discussions
Which parts of the text are matched in the following regular expression?
$text = << The big bang bonged under the bung. EOT; preg_match_all('@b.n?g@', $text, $matches);
Correct : C
Start a Discussions
What will the following code piece print?
echo strtr('Apples and bananas', 'ae', 'ea')
Correct : A
Start a Discussions