3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(7, NAN, 3,); sort(&$arr); var_dump($arr);

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.20.0370.07320.23
7.0.10.0100.08320.16
7.0.00.0100.04020.30
5.6.170.0430.07320.52
5.6.160.0030.05320.46
5.6.150.0100.08318.09
5.6.140.0070.06018.09
5.6.130.0030.08318.22
5.6.120.0100.06321.03
5.6.110.0100.08020.98
5.6.100.0130.05020.98
5.6.90.0100.05321.13
5.6.80.0030.03720.50
5.5.310.0200.04020.34
5.5.300.0030.05017.98
5.5.290.0070.03718.01
5.5.280.0070.07320.80
5.5.270.0030.05020.75
5.5.260.0030.05720.64
5.5.250.0100.07720.68
5.5.240.3870.04320.23

preferences:
140.09 ms | 1394 KiB | 7 Q