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
$o1 = new stdclass($a=8); | |
var_dump($a); // Notice: Undefined variable: a | |
$o2 = new Datetime($b='now'); | |
var_dump($b); // string "now" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An enticing mystery but it's great once you get it!