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
PHP
PHP Quiz
Start Quiz

or Read more about PHP Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback