3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $q = array(10, 'test'); $orig_value = array(0 => "$q"); $str_value = array_shift($orig_value); var_dump($str_value);
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/UhWrc on line 5 string(5) "Array"
Output for 4.3.0 - 5.3.29
string(5) "Array"