3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bar = new Bar; namespace Foo; $bar->baz();

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.0070.08020.50
5.5.240.0030.08020.25
5.4.400.0330.07018.51
5.4.390.0370.06018.74
5.4.380.0300.05318.72
5.4.370.0330.07318.59
5.4.360.0270.05318.73
5.4.350.0230.05018.75
5.4.340.0230.06318.72
5.4.320.0400.05318.62
5.4.310.0200.07018.72
5.4.300.0330.06318.46
5.4.290.0370.05718.64
5.4.280.0300.05018.58
5.4.270.0330.05718.50
5.4.260.0300.05718.61
5.4.250.0330.06318.61
5.4.240.0230.07718.46
5.4.230.0370.05718.51
5.4.220.0270.07718.70
5.4.210.0300.06718.60
5.4.200.0300.06316.61
5.4.190.0400.06718.71
5.4.180.0130.08718.66
5.4.170.0370.07318.64
5.4.160.0270.07318.67
5.4.150.0200.05718.44
5.4.140.0130.06316.18
5.4.130.0200.07316.16
5.4.120.0230.04716.05
5.4.110.0130.06016.31
5.4.100.0300.05016.30
5.4.90.0230.05316.23
5.4.80.0330.06316.24
5.4.70.0270.07316.22
5.4.60.0070.06316.04
5.4.50.0230.04316.21
5.4.40.0270.04316.13
5.4.30.0130.05316.21
5.4.20.0130.05716.18
5.4.10.0270.05016.13
5.4.00.0270.05715.52
5.3.290.0300.05314.73
5.3.280.0270.07014.57
5.3.270.0200.06314.59
5.3.260.0370.04714.69
5.3.250.0230.05714.65
5.3.240.0300.04314.58
5.3.230.0300.04314.55
5.3.220.0200.06014.55
5.3.210.0270.06014.48
5.3.200.0270.05314.66
5.3.190.0330.06014.51
5.3.180.0300.05314.55
5.3.170.0270.05314.59
5.3.160.0300.06014.49
5.3.150.0300.05714.53
5.3.140.0270.06014.55
5.3.130.0300.05314.44
5.3.120.0230.06014.64
5.3.110.0300.05014.55
5.3.100.0270.06314.01
5.3.90.0200.07014.07
5.3.80.0430.05714.00
5.3.70.0330.06014.10
5.3.60.0200.06713.98
5.3.50.0370.04713.85
5.3.40.0330.05013.93
5.3.30.0200.05713.93
5.3.20.0270.04713.61
5.3.10.0370.05313.60
5.3.00.0300.04313.53
5.2.170.0330.04011.13
5.2.160.0300.03011.05
5.2.150.0230.04311.20
5.2.140.0230.05311.17
5.2.130.0300.05011.12
5.2.120.0230.05311.02
5.2.110.0300.05011.25
5.2.100.0230.05011.14
5.2.90.0270.03711.07
5.2.80.0230.05011.23
5.2.70.0230.06011.05
5.2.60.0230.05711.20
5.2.50.0300.03010.96
5.2.40.0170.04310.95
5.2.30.0230.03310.94
5.2.20.0230.04010.95
5.2.10.0370.04710.91
5.2.00.0200.05710.77
5.1.60.0170.0409.95
5.1.50.0130.04010.05
5.1.40.0200.03310.09
5.1.30.0270.04310.39
5.1.20.0330.04010.39
5.1.10.0230.04710.10
5.1.00.0230.04310.08
5.0.50.0100.0378.69
5.0.40.0100.0278.41
5.0.30.0100.0478.20
5.0.20.0100.0278.41
5.0.10.0170.0308.35
5.0.00.0170.0338.33
4.4.90.0100.0235.83
4.4.80.0030.0305.94
4.4.70.0130.0205.93
4.4.60.0000.0305.91
4.4.50.0100.0275.92
4.4.40.0230.0235.91
4.4.30.0100.0235.87
4.4.20.0100.0305.95
4.4.10.0100.0335.95
4.4.00.0130.0305.90
4.3.110.0070.0205.75
4.3.100.0030.0275.88
4.3.90.0030.0235.77
4.3.80.0130.0335.79
4.3.70.0070.0275.80
4.3.60.0030.0235.80
4.3.50.0130.0205.84
4.3.40.0170.0375.75
4.3.30.0030.0234.58
4.3.20.0070.0204.66
4.3.10.0070.0304.50
4.3.00.0030.0206.88

preferences:
143.01 ms | 1394 KiB | 7 Q