214 quizzes found.
Which of the following tags are an acceptable way to begin a PHP Code block?
Which of the following are valid PHP variables?
What is the best way to iterate and modify every element of an array using PHP 5?
What is the output of the following PHP script?
<?php define('FOO', 10); $array = array(10 => FOO, "FOO" => 20); print $array[$array[FOO]] * $array["FOO"]; ?>
What is the output of the following PHP code?
<?php $a = 1; $b = 2.5; $c = 0xFF; $d = $b + $c; $e = $d * $b; $f = ($d + $e) % $a; print ($f + $e); ?>