3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('1' => '1', '2' => '2', '3' => '3'); $b = array('2' => '2', '1' => '1', '3' => '3'); var_dump(sort($a)==sort($b)); var_dump(soart($a)===sort($b));
based on fKmJI
Output for 7.0.0 - 7.2.0
bool(true) Fatal error: Uncaught Error: Call to undefined function soart() in /in/AoK1J:6 Stack trace: #0 {main} thrown in /in/AoK1J on line 6
Process exited with code 255.
Output for 5.3.20 - 5.6.28
bool(true) Fatal error: Call to undefined function soart() in /in/AoK1J on line 6
Process exited with code 255.