What will be printed after executing following code?
<?php
list($value, $array_size) = 0 ? 1 : array("2", "3"); 
echo $value;
?>
Explanation
list — Assign variables as if they were an array

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
PHP quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes