3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 1; var_dump((unset)$x); var_dump($x);
Output for 7.2.0
Deprecated: The (unset) cast is deprecated in /in/26n74 on line 4 NULL int(1)
Output for 4.3.0 - 7.1.10
NULL int(1)