3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 'foo'; var_dump((unset) $x); var_dump($x);
based on aB4ll
Output for 7.2.0
Deprecated: The (unset) cast is deprecated in /in/92rn3 on line 5 NULL string(3) "foo"
Output for 4.3.0 - 7.1.10
NULL string(3) "foo"