3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $something = null; $something = (array) $something; var_dump($something); $something = (array) $something; var_dump($something);
based on f1TGY
Output for 4.3.0 - 7.1.0
array(0) { } array(0) { }