3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = 1; (unset) $foo; var_dump($foo, $bar);
based on Ziuui
Output for 7.2.0
Deprecated: The (unset) cast is deprecated in /in/Wahb4 on line 4 Notice: Undefined variable: bar in /in/Wahb4 on line 5 int(1) NULL
Output for 5.3.21 - 7.1.10
Notice: Undefined variable: bar in /in/Wahb4 on line 5 int(1) NULL