3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dataPoints = array( array('1' => '33','2' => 'dave','3' => '367'), array('1' => '168','2' => 'susan','3' => '56788'), array('1' => '99','2' => 'tim','3' => '6') ); foreach ($dataPoints as $key => $row) { $x[$key] = $row['1']; $y[$key] = $row['2']; $z[$key] = $row['3']; } $aaa = array_multisort($dataPoints, $x, SORT_DESC, $y, SORT_ASC, $z, $dataPoints); print_r($aaa); //TRUE or FALSE prh($dataPoints); //The data
Output for 7.0.0 - 7.1.0
1 Fatal error: Uncaught Error: Call to undefined function prh() in /in/PaXFb:17 Stack trace: #0 {main} thrown in /in/PaXFb on line 17
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.1 - 5.6.28, hhvm-3.10.0 - 3.12.0
1 Fatal error: Call to undefined function prh() in /in/PaXFb on line 17
Process exited with code 255.
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/PaXFb on line 17
Process exited with code 255.
Output for 4.4.5 - 4.4.9
1 Fatal error: Call to undefined function: prh() in /in/PaXFb on line 17
Process exited with code 255.
Output for 4.3.2 - 4.4.4
1 Fatal error: Call to undefined function: prh() in /in/PaXFb on line 17
Process exited with code 255.
Output for 4.3.0 - 4.3.1
1 Fatal error: Call to undefined function: prh() in /in/PaXFb on line 17