3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 8; $a = null; var_dump( isset($a)); $s = new stdClass($z=10); var_dump($s,$z);
Output for 7.1.0
bool(false) object(stdClass)#1 (0) { } int(10)
Output for 5.0.4 - 7.0.14
bool(false) Notice: Undefined variable: z in /in/YbVWs on line 7 object(stdClass)#1 (0) { } NULL
Output for 5.0.0 - 5.0.3
bool(false) Notice: Undefined variable: z in /in/YbVWs on line 7 object(stdClass)#1 (0) { } NULL
Output for 4.3.0 - 4.4.9
bool(false) Notice: Undefined variable: z in /in/YbVWs on line 7 object(stdClass)(0) { } NULL