3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array( 0 => array( 'BatchId' => 2 ), 1 => array( 'BatchId' => 3 ), ); $a2 = array_shift(array_shift($a)); print_r($a2);
based on VHcAE
Output for 7.0.0 - 7.2.0
Notice: Only variables should be passed by reference in /in/9Aol4 on line 13 2
Output for 5.3.21 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/9Aol4 on line 13 2