"i" ">

, 2.

array(2) {

[5]=>

string(1) "f" ">

, 3.

array(2) {

[5]=>

string(1)   "i” ">

, 4.

array(2) {

[5]=>

string(1)  "g" ">

">
MCQs > IT & Programming > PHP 5 > Output of the PHP 7.1 code? $example = array( 5 => 'e', '5' => 'f', 5.5 => 'g', true => 'i', ); var_dump($example); ?>

PHP 5 MCQs

Find the output of the following PHP 7.1 code.

$example = array(

5 => "e",

"5" => "f",

5.5 => "g",

true => "i",

);

var_dump($example);

?>


Answer

Correct Answer:

array(2) {

[5]=>

string(1)  "g" ">

Explanation:

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it