3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $RET = array ( '' => array ( 1 => array ( 'STAFF_ID' => '5038', ), 2 => array ( 'STAFF_ID' => '5039', ), 3 => array ( 'STAFF_ID' => '5046', ), 4 => array ( 'STAFF_ID' => '5066', ), 5 => array ( 'STAFF_ID' => '5062', ), 6 => array ( 'STAFF_ID' => '5074', ), 7 => array ( 'STAFF_ID' => '5073', ), 8 => array ( 'STAFF_ID' => '5056', ), 9 => array ( 'STAFF_ID' => '5059', ), 10 => array ( 'STAFF_ID' => '5061', ), 11 => array ( 'STAFF_ID' => '5080', ), 12 => array ( 'STAFF_ID' => '5755', ), 13 => array ( 'STAFF_ID' => '5082', ), 14 => array ( 'STAFF_ID' => '5087', ), 15 => array ( 'STAFF_ID' => '5085', ), 16 => array ( 'STAFF_ID' => '5727', ), 17 => array ( 'STAFF_ID' => '5050', ), 18 => array ( 'STAFF_ID' => '5081', ), 19 => array ( 'STAFF_ID' => '5045', ), 20 => array ( 'STAFF_ID' => '5758', ), 21 => array ( 'STAFF_ID' => '5728', ), 22 => array ( 'STAFF_ID' => '5063', ), 23 => array ( 'STAFF_ID' => '5083', ), 24 => array ( 'STAFF_ID' => '5040', ), 25 => array ( 'STAFF_ID' => '5077', ), 26 => array ( 'STAFF_ID' => '5051', ), 27 => array ( 'STAFF_ID' => '5060', ), 28 => array ( 'STAFF_ID' => '5058', ), 29 => array ( 'STAFF_ID' => '5069', ), 30 => array ( 'STAFF_ID' => '5075', ), 31 => array ( 'STAFF_ID' => '5055', ), 32 => array ( 'STAFF_ID' => '5048', ), 33 => array ( 'STAFF_ID' => '5067', ), 34 => array ( 'STAFF_ID' => '5043', ), 35 => array ( 'STAFF_ID' => '5064', ), 36 => array ( 'STAFF_ID' => '5078', ), 37 => array ( 'STAFF_ID' => '5729', ), 38 => array ( 'STAFF_ID' => '5068', ), 39 => array ( 'STAFF_ID' => '5079', ), 40 => array ( 'STAFF_ID' => '5054', ), 41 => array ( 'STAFF_ID' => '5088', ), 42 => array ( 'STAFF_ID' => '5076', ), ), ); var_dump(array_shift($RET));
Output for 4.3.0 - 7.2.0
array(42) { [1]=> array(1) { ["STAFF_ID"]=> string(4) "5038" } [2]=> array(1) { ["STAFF_ID"]=> string(4) "5039" } [3]=> array(1) { ["STAFF_ID"]=> string(4) "5046" } [4]=> array(1) { ["STAFF_ID"]=> string(4) "5066" } [5]=> array(1) { ["STAFF_ID"]=> string(4) "5062" } [6]=> array(1) { ["STAFF_ID"]=> string(4) "5074" } [7]=> array(1) { ["STAFF_ID"]=> string(4) "5073" } [8]=> array(1) { ["STAFF_ID"]=> string(4) "5056" } [9]=> array(1) { ["STAFF_ID"]=> string(4) "5059" } [10]=> array(1) { ["STAFF_ID"]=> string(4) "5061" } [11]=> array(1) { ["STAFF_ID"]=> string(4) "5080" } [12]=> array(1) { ["STAFF_ID"]=> string(4) "5755" } [13]=> array(1) { ["STAFF_ID"]=> string(4) "5082" } [14]=> array(1) { ["STAFF_ID"]=> string(4) "5087" } [15]=> array(1) { ["STAFF_ID"]=> string(4) "5085" } [16]=> array(1) { ["STAFF_ID"]=> string(4) "5727" } [17]=> array(1) { ["STAFF_ID"]=> string(4) "5050" } [18]=> array(1) { ["STAFF_ID"]=> string(4) "5081" } [19]=> array(1) { ["STAFF_ID"]=> string(4) "5045" } [20]=> array(1) { ["STAFF_ID"]=> string(4) "5758" } [21]=> array(1) { ["STAFF_ID"]=> string(4) "5728" } [22]=> array(1) { ["STAFF_ID"]=> string(4) "5063" } [23]=> array(1) { ["STAFF_ID"]=> string(4) "5083" } [24]=> array(1) { ["STAFF_ID"]=> string(4) "5040" } [25]=> array(1) { ["STAFF_ID"]=> string(4) "5077" } [26]=> array(1) { ["STAFF_ID"]=> string(4) "5051" } [27]=> array(1) { ["STAFF_ID"]=> string(4) "5060" } [28]=> array(1) { ["STAFF_ID"]=> string(4) "5058" } [29]=> array(1) { ["STAFF_ID"]=> string(4) "5069" } [30]=> array(1) { ["STAFF_ID"]=> string(4) "5075" } [31]=> array(1) { ["STAFF_ID"]=> string(4) "5055" } [32]=> array(1) { ["STAFF_ID"]=> string(4) "5048" } [33]=> array(1) { ["STAFF_ID"]=> string(4) "5067" } [34]=> array(1) { ["STAFF_ID"]=> string(4) "5043" } [35]=> array(1) { ["STAFF_ID"]=> string(4) "5064" } [36]=> array(1) { ["STAFF_ID"]=> string(4) "5078" } [37]=> array(1) { ["STAFF_ID"]=> string(4) "5729" } [38]=> array(1) { ["STAFF_ID"]=> string(4) "5068" } [39]=> array(1) { ["STAFF_ID"]=> string(4) "5079" } [40]=> array(1) { ["STAFF_ID"]=> string(4) "5054" } [41]=> array(1) { ["STAFF_ID"]=> string(4) "5088" } [42]=> array(1) { ["STAFF_ID"]=> string(4) "5076" } }