Created
June 20, 2013 19:15
-
-
Save evert/5825741 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$a = 1; | |
$b = 2; | |
$c = 3; | |
list($a, $b, $c) = false; | |
var_dump([ | |
$a, $b, $c | |
]); | |
/* Returns | |
array(3) { | |
[0] => | |
NULL | |
[1] => | |
NULL | |
[2] => | |
NULL | |
} | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also, if you do
The result is the same. Even more surprising?