3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array( 18 => 30, 10 => 10, 17 => 30 ); asort($array); var_dump($array);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.00.0230.03320.15
5.6.160.0030.04020.59
5.6.150.0100.07018.19
5.6.140.0070.04718.18
5.6.130.0030.08318.21
5.6.120.0070.07320.98
5.6.110.0100.06021.11
5.6.100.0070.07021.11
5.6.90.0130.06721.13
5.6.80.0030.04320.37
5.5.300.0030.04317.96
5.5.290.0070.08018.09
5.5.280.0070.04020.79
5.5.270.0170.07720.96
5.5.260.0030.08720.75
5.5.250.0030.07720.57
5.5.240.0300.06320.13

preferences:
141.89 ms | 1394 KiB | 7 Q