3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'foo'; $b = &$a; (unset)$b; var_dump($a, $b);
Output for 7.2.0
Deprecated: The (unset) cast is deprecated in /in/8uupK on line 5 string(3) "foo" string(3) "foo"
Output for 4.3.0 - 7.1.10
string(3) "foo" string(3) "foo"