3v4l.org

run code in 300+ PHP versions simultaneously
<?php function map(callable $callback) { } map([new SplFixedArray(), 'count']]);

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)
5.6.80.0130.07020.52
5.5.240.0100.07320.28
5.4.400.0800.05318.54
5.4.390.1030.05018.56
5.4.380.1000.06018.72
5.4.370.0970.05718.47
5.4.360.1070.05018.80
5.4.350.0730.06318.80
5.4.340.1100.05018.54
5.4.320.1000.05718.56
5.4.310.0800.05318.72
5.4.300.0900.04718.77
5.4.290.0870.05018.63
5.4.280.1170.03718.83
5.4.270.1170.05018.71
5.4.260.1130.05718.75
5.4.250.1070.06018.61
5.4.240.0800.06018.84
5.4.230.0830.05718.52
5.4.220.0900.05018.76
5.4.210.0770.06318.60
5.4.200.0930.04316.71
5.4.190.0800.05718.49
5.4.180.0870.06018.82
5.4.170.0930.05018.75
5.4.160.1030.05718.51
5.4.150.1230.05718.67
5.4.140.1100.05716.36
5.4.130.0870.05316.49
5.4.120.0800.05716.33
5.4.110.0900.05716.29
5.4.100.0970.07316.14
5.4.90.0800.05716.33
5.4.80.0330.04716.27
5.4.70.0030.05716.42
5.4.60.0100.05316.39
5.4.50.0400.06316.20
5.4.40.0800.05316.16
5.4.30.0930.04716.16
5.4.20.0900.04716.15
5.4.10.0800.05016.21
5.4.00.0900.05015.78
5.3.290.0930.05314.68
5.3.280.0870.04714.59
5.3.270.0800.05314.82
5.3.260.0900.05314.65
5.3.250.0930.05314.73
5.3.240.0800.05714.63
5.3.230.0900.04714.70
5.3.220.1000.07014.70
5.3.210.0800.06014.70
5.3.200.0900.05014.60
5.3.190.0930.05314.66
5.3.180.1000.05714.66
5.3.170.1130.05314.59
5.3.160.1100.05014.79
5.3.150.0800.07314.60
5.3.140.0930.05014.78
5.3.130.0870.07014.68
5.3.120.1070.05014.59
5.3.110.0900.05014.49
5.3.100.1230.06314.07
5.3.90.1200.04714.23
5.3.80.1100.05014.05
5.3.70.0900.05314.04
5.3.60.0800.05314.07
5.3.50.0800.05314.02
5.3.40.1100.05314.00
5.3.30.0970.05713.98
5.3.20.0900.05013.80
5.3.10.0930.05013.87
5.3.00.0900.04713.66
5.2.170.0830.04011.24
5.2.160.0900.03711.26
5.2.150.1000.03711.27
5.2.140.1000.05311.24
5.2.130.1070.04011.15
5.2.120.0630.04711.23
5.2.110.0600.04711.30
5.2.100.0870.04311.10
5.2.90.0870.05311.19
5.2.80.1000.04011.09
5.2.70.1030.05311.13
5.2.60.0930.04011.15
5.2.50.0970.04311.08
5.2.40.0530.04711.13
5.2.30.0600.04011.04
5.2.20.0530.04711.00
5.2.10.0530.04711.06
5.2.00.0530.04010.81
5.1.60.0600.02710.07
5.1.50.0600.03010.17
5.1.40.0670.03010.00
5.1.30.0630.03010.39
5.1.20.0470.04310.33
5.1.10.0570.03710.09
5.1.00.0530.03710.09
5.0.50.0300.0308.73
5.0.40.0300.0238.43
5.0.30.0330.0408.25
5.0.20.0270.0308.38
5.0.10.0300.0278.28
5.0.00.0270.0438.27
4.4.90.0270.0235.89
4.4.80.0370.0135.89
4.4.70.0330.0205.88
4.4.60.0270.0235.87
4.4.50.0270.0205.93
4.4.40.0330.0305.88
4.4.30.0230.0235.99
4.4.20.0270.0205.97
4.4.10.0270.0205.97
4.4.00.0230.0405.91
4.3.110.0270.0275.83
4.3.100.0270.0205.94
4.3.90.0230.0235.77
4.3.80.0300.0305.79
4.3.70.0270.0205.83
4.3.60.0270.0205.86
4.3.50.0270.0205.86
4.3.40.0400.0305.81
4.3.30.0100.0234.58
4.3.20.0170.0304.57
4.3.10.0100.0334.54
4.3.00.0270.0176.77

preferences:
141.6 ms | 1394 KiB | 7 Q