3v4l.org

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