"Jane", )">, 2.Array ( [1] => Smith ), 3.Array ( [1] => "Jane", [true] => Smith )">, 4.Array ( [1] => "Doe", [1.5] => "Jane", [true] => Smith )">, 5.Array ( [1] => John )">
MCQs > IT & Programming > PHP 5 > Key casts in arrays. What is the resulting array $a = array( 1 => 'John', '1' => 'Doe', 1.5 => 'Jane', true => 'Smith', );

PHP 5 MCQs

Key casts in arrays. What is the resulting array $a = array( 1 => "John", "1" => "Doe", 1.5 => "Jane", true => "Smith", );

Answer

Correct Answer: Array ( [1] => Smith )

Explanation:

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