Correct Answer: Array([0] => dog [1] => cat [2] => pig)
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 result of $b ? $a = 3; $b = &$a; $a = $a*4; echo $b;
What will show next code: $data = new stdClass; $data->var1 = 'word' $data->var2 = 'text' print_r( json_decode( json_encode($data), true ) );
$var = 'green' $str = 'The apple is $var \n' echo $str; What will be displayed ?
What does this display: Class Obj{ public $a = 2; public function __construct($var=null){ if(!empty($var)) $this->a = $var } } $obj = new Obj(0); echo $obj->a;
Function to hash a password for storage?
How do you connect mysql with the use of PHP5 new functions?
PHP provides the goto in the latest version.
What function allows you to find the position of the first occurrence of a substring?
What Does OOM mean?
Which functions compute the intersection of arrays with additional index check and are defined newly in PHP5?