3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { function bar(); } Foo::bar();

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.0030.08720.12
5.6.160.0130.07020.55
5.6.150.0100.04318.29
5.6.140.0000.04318.27
5.6.130.0030.08318.21
5.6.120.0030.09021.15
5.6.110.0100.08020.99
5.6.100.0100.07721.02
5.6.90.0170.07721.00
5.6.80.0170.05020.54
5.5.300.0000.07317.98
5.5.290.0070.08018.03
5.5.280.0100.08320.77
5.5.270.0100.07720.64
5.5.260.0030.04320.84
5.5.250.0000.06020.69
5.5.240.0170.07020.23
5.4.450.0620.04919.29
5.4.440.0400.05819.55
5.4.430.0640.05819.46
5.4.420.0570.05119.53
5.4.410.0560.05119.18
5.4.400.0530.05619.10
5.4.390.0480.05819.18
5.4.380.0470.05119.15
5.4.370.0580.05719.09
5.4.360.0570.04919.16
5.4.350.0410.04619.09
5.4.340.0540.05419.15
5.4.320.0490.05719.13
5.4.310.0590.04819.00
5.4.300.0600.05819.16
5.4.290.0570.04719.17
5.4.280.0540.05619.14
5.4.270.0500.05119.21
5.4.260.0480.05119.14
5.4.250.0540.04919.09
5.4.240.0570.04819.10
5.4.230.0580.05619.08
5.4.220.0510.05419.08
5.4.210.0530.05219.12
5.4.200.0540.04719.08
5.4.190.0580.05419.06
5.4.180.0590.05019.07
5.4.170.0530.04919.06
5.4.160.0470.05219.18
5.4.150.0540.05219.19
5.4.140.0510.05016.45
5.4.130.0570.04716.45
5.4.120.0600.04916.43
5.4.110.0520.05216.57
5.4.100.0570.05416.53
5.4.90.0580.04016.41
5.4.80.0480.05016.51
5.4.70.0450.04316.34
5.4.60.0500.04516.34
5.4.50.0500.04716.54
5.4.40.0600.05716.48
5.4.30.0430.04316.32
5.4.20.0200.04816.45
5.4.10.0430.05016.51
5.4.00.0550.04715.91
5.3.290.0460.05414.67
5.3.280.0530.05014.61
5.3.270.0630.04814.66
5.3.260.0560.05314.60
5.3.250.0530.04914.55
5.3.240.0570.05114.50
5.3.230.0580.04714.54
5.3.220.0520.05014.45
5.3.210.0520.05814.54
5.3.200.0530.04914.52
5.3.190.0530.06014.60
5.3.180.0430.05314.51
5.3.170.0480.04214.51
5.3.160.0430.04514.39
5.3.150.0520.05014.47
5.3.140.0620.06014.57
5.3.130.0320.05314.44
5.3.120.0170.05014.55
5.3.110.0370.05714.44
5.3.100.0470.05013.98
5.3.90.0480.05314.06
5.3.80.0450.04813.96
5.3.70.0430.05813.93
5.3.60.0420.04713.92
5.3.50.0430.04813.81
5.3.40.0380.05013.90
5.3.30.0480.04013.82
5.3.20.0350.04713.59
5.3.10.0170.04213.64
5.3.00.0150.04713.68
5.2.170.0330.03811.09
5.2.160.0300.03811.04
5.2.150.0300.04011.11
5.2.140.0320.04311.09
5.2.130.0270.03711.15
5.2.120.0130.04011.14
5.2.110.0120.03810.99
5.2.100.0080.03811.13
5.2.90.0150.04311.12
5.2.80.0200.03511.03
5.2.70.0100.04010.99
5.2.60.0080.04511.01
5.2.50.0170.03710.97
5.2.40.0070.04310.97
5.2.30.0150.04010.87
5.2.20.0150.03810.91
5.2.10.0100.04210.83
5.2.00.0100.04210.71
5.1.60.0080.03210.08
5.1.50.0080.0359.99
5.1.40.0230.0309.97
5.1.30.0080.03710.36
5.1.20.0050.04510.24
5.1.10.0120.03510.00
5.1.00.0230.03210.04
5.0.50.0080.0288.50
5.0.40.0120.0278.30
5.0.30.0050.0428.19
5.0.20.0100.0238.17
5.0.10.0030.0288.15
5.0.00.0070.0408.11
4.4.90.0050.0205.84
4.4.80.0120.0255.78
4.4.70.0030.0235.85
4.4.60.0030.0235.85
4.4.50.0070.0185.85
4.4.40.0120.0285.85
4.4.30.0100.0225.83
4.4.20.0070.0275.91
4.4.10.0070.0225.90
4.4.00.0050.0355.92
4.3.110.0070.0205.77
4.3.100.0020.0225.74
4.3.90.0080.0155.73
4.3.80.0050.0335.76
4.3.70.0100.0185.71
4.3.60.0080.0255.76
4.3.50.0130.0205.76
4.3.40.0180.0335.70
4.3.30.0080.0225.34
4.3.20.0050.0225.34
4.3.10.0070.0205.34
4.3.00.0120.0205.34

preferences:
143.98 ms | 1394 KiB | 7 Q