3v4l.org

run code in 300+ PHP versions simultaneously
<?php sort(array(1,2,3));

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.60.0830.00713.92
7.0.50.0830.00714.05
7.0.40.1530.00314.53
7.0.30.0870.01014.42
7.0.20.0900.00714.35
7.0.10.0870.01014.28
7.0.00.0730.01314.27
5.6.210.0130.05320.75
5.6.200.0070.06020.63
5.6.190.0100.07720.82
5.6.180.0170.04720.59
5.6.170.0170.05720.73
5.6.160.0200.04320.76
5.6.150.0100.06020.59
5.6.140.0000.06720.63
5.6.130.0030.07320.73
5.6.120.0200.04720.58
5.6.110.0000.09320.79
5.6.100.0000.06320.62
5.6.90.0000.06720.82
5.6.80.0030.05320.12
5.5.350.0030.05717.37
5.5.340.0070.05317.86
5.5.330.0130.08017.78
5.5.320.0030.06017.76
5.5.310.0130.04718.09
5.5.300.0070.05717.81
5.5.290.0070.06018.07
5.5.280.0170.04717.90
5.5.270.0000.06717.83
5.5.260.0170.05317.59
5.5.250.0100.05317.55
5.5.240.0170.04717.06
5.4.450.0130.05319.11
5.4.440.0200.04719.36
5.4.430.0200.04019.20
5.4.420.0170.05319.05
5.4.410.0070.05319.09
5.4.400.0100.04718.71
5.4.390.0170.04318.91
5.4.380.0030.05318.73
5.4.370.0100.04718.93
5.4.360.0170.04318.66
5.4.350.0100.07018.82
5.4.340.0130.05018.71
5.4.320.0170.04318.92
5.4.310.0100.04718.97
5.4.300.0130.04318.81
5.4.290.0030.05718.87
5.4.280.0030.06018.86
5.4.270.0100.05018.74
5.4.260.0130.07319.00
5.4.250.0070.05318.74
5.4.240.0130.06018.86
5.4.230.0100.05018.70
5.4.220.0100.07718.76
5.4.210.0100.05019.02
5.4.200.0130.04318.92
5.4.190.0170.06318.99
5.4.180.0070.05318.99
5.4.170.0170.05318.76
5.4.160.0230.06019.01
5.4.150.0230.03718.69
5.4.140.0030.05316.25
5.4.130.0030.05316.25
5.4.120.0000.05316.44
5.4.110.0170.04016.27
5.4.100.0230.05316.42
5.4.90.0000.05716.42
5.4.80.0070.04716.38
5.4.70.0170.03716.47
5.4.60.0130.04316.41
5.4.50.0100.04716.49
5.4.40.0130.06316.38
5.4.30.0070.05016.32
5.4.20.0070.04716.44
5.4.10.0230.05716.41
5.4.00.0130.04715.74
5.3.290.0100.05314.52
5.3.280.0000.05714.60
5.3.270.0100.05014.38
5.3.260.0130.06014.48
5.3.250.0070.05714.55
5.3.240.0030.05314.60
5.3.230.0030.05714.61
5.3.220.0130.04314.58
5.3.210.0070.05314.71
5.3.200.0000.05314.43
5.3.190.0000.06314.56
5.3.180.0070.05314.57
5.3.170.0100.04714.58
5.3.160.0170.05314.61
5.3.150.0070.05314.43
5.3.140.0070.05314.57
5.3.130.0130.04314.43
5.3.120.0100.05014.41
5.3.110.0030.06014.40
5.3.100.0070.05314.05
5.3.90.0130.07313.89
5.3.80.0070.06014.03
5.3.70.0030.05713.79
5.3.60.0130.04713.92
5.3.50.0130.04313.98
5.3.40.0070.05713.96
5.3.30.0100.05714.00
5.3.20.0070.04713.73
5.3.10.0130.04013.48
5.3.00.0100.04713.79

preferences:
33.74 ms | 400 KiB | 5 Q