3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = (unset)array(1, 2, 3); $r = (array)$test; var_dump($r);
Output for 7.2.0
Deprecated: The (unset) cast is deprecated in /in/91lTm on line 3 array(0) { }
Output for 4.3.0 - 7.1.10
array(0) { }