3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = 'bar'; var_dump((unset) $foo); var_dump($foo);
Output for 7.2.0 - 7.3.0rc3
Deprecated: The (unset) cast is deprecated in /in/n3JMZ on line 4 NULL string(3) "bar"
Output for 4.3.0 - 5.6.30, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.1.20
NULL string(3) "bar"