3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a=array(array("a"=>"red","b"=>"green","c"=>"blue")); echo array_shift($a)."<br>"; print_r ($a);
Output for 5.6.38 - 7.3.0rc3
Notice: Array to string conversion in /in/g45WQ on line 4 Array<br>Array ( )