Correct Answer: [1 is apple] [2 is banana] [sweet is strawberry]
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP 5 Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP 5 MCQ Questions
To ensure that a given object has a particular set of methods, you must provide a method list in the form of an ________ and then attach it as part of your class using the ________ keyword.
Output of the following code? $arr = 'a'; $arr[0]='b'; echo $arr; echo $arr[0];
Which function compare the substrings of the parameters?
Outputs? function add($a) { return $a++; } echo add(5);
How do you get header information from a URL?
Which cast option can be used for explicitly converting a value to integer?
Which is the correct output of the following PHP 7.1 program? function swap(&$x, &$y): void { if ($x === $y) { return; } $exp = $x; $x = $y; $y = $exp; } $var1 = 12; $var2 = 20; var_dump(swap($var1, $var2), $var1, $var2);?>
Which is correct about the following PHP 7.1 code? $example = 25; $b = &$example; $b = &(12 * 9); function t() { return 15; } $b = &t(); ?>
Which is an invalid constant in PHP 7.1?
Output of the following code? class Bar { public function checking() { return function() { var_dump($this); }; } } $object = new Bar; $function = $object->checking(); $function(); ?>