3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo3\String { class BazBar { } } new \Foo3\String\BazBar; // should this fail on php7?

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.07320.37
5.5.240.0100.06720.35
5.4.400.0070.08718.80
5.4.390.0300.06018.79
5.4.380.0070.08718.59
5.4.370.0170.05718.44
5.4.360.0130.05718.73
5.4.350.0230.06018.48
5.4.340.0230.05318.68
5.4.320.0270.05018.44
5.4.310.0130.05718.79
5.4.300.0130.05718.82
5.4.290.0200.05718.73
5.4.280.0170.08018.73
5.4.270.0300.04018.43
5.4.260.0170.05318.58
5.4.250.0130.06018.83
5.4.240.0200.05318.73
5.4.230.0170.05018.56
5.4.220.0170.06018.69
5.4.210.0200.05318.73
5.4.200.0170.06016.64
5.4.190.0130.06318.42
5.4.180.0170.05318.81
5.4.170.0230.05018.72
5.4.160.0100.06318.42
5.4.150.0130.05718.47
5.4.140.0200.04716.46
5.4.130.0100.05316.33
5.4.120.0170.05016.23
5.4.110.0130.05316.20
5.4.100.0200.04716.31
5.4.90.0100.05716.35
5.4.80.0170.04716.21
5.4.70.0170.05016.41
5.4.60.0130.05316.20
5.4.50.0100.05716.41
5.4.40.0230.05016.14
5.4.30.0100.05716.22
5.4.20.0170.05316.11
5.4.10.0100.05316.12
5.4.00.0130.06015.89
5.3.290.0270.06714.64
5.3.280.0130.05714.70
5.3.270.0200.05314.64
5.3.260.0270.04714.65
5.3.250.0070.06314.58
5.3.240.0230.05314.63
5.3.230.0270.04714.71
5.3.220.0170.05014.84
5.3.210.0170.06014.66
5.3.200.0130.05714.65
5.3.190.0130.06014.65
5.3.180.0130.06314.57
5.3.170.0200.05314.68
5.3.160.0270.05314.84
5.3.150.0230.06714.75
5.3.140.0200.05014.67
5.3.130.0200.07314.60
5.3.120.0230.07714.57
5.3.110.0370.06714.72
5.3.100.0270.04714.14
5.3.90.0170.07314.05
5.3.80.0230.06014.11
5.3.70.0270.04314.13
5.3.60.0130.05314.09
5.3.50.0230.06314.04
5.3.40.0230.06313.98
5.3.30.0200.04714.07
5.3.20.0170.04713.77
5.3.10.0130.05013.63
5.3.00.0200.06713.93
5.2.170.0070.05711.20
5.2.160.0170.05311.14
5.2.150.0200.04311.12
5.2.140.0130.04311.30
5.2.130.0270.04311.03
5.2.120.0100.06011.07
5.2.110.0230.04711.15
5.2.100.0030.05011.09
5.2.90.0130.04011.16
5.2.80.0100.04311.05
5.2.70.0100.04311.15
5.2.60.0100.04310.99
5.2.50.0170.04011.15
5.2.40.0070.04310.96
5.2.30.0170.03710.96
5.2.20.0170.04010.92
5.2.10.0170.03310.84
5.2.00.0100.04010.77
5.1.60.0030.04310.01
5.1.50.0100.0439.96
5.1.40.0070.04010.00
5.1.30.0230.04310.46
5.1.20.0230.03710.40
5.1.10.0070.04010.09
5.1.00.0130.03710.10
5.0.50.0000.0378.58
5.0.40.0070.0308.46
5.0.30.0100.0408.32
5.0.20.0100.0238.19
5.0.10.0100.0278.36
5.0.00.0100.0438.19
4.4.90.0070.0305.87
4.4.80.0130.0235.89
4.4.70.0070.0205.89
4.4.60.0030.0275.89
4.4.50.0100.0175.82
4.4.40.0070.0475.88
4.4.30.0030.0305.88
4.4.20.0030.0235.96
4.4.10.0070.0235.93
4.4.00.0030.0375.96
4.3.110.0100.0175.82
4.3.100.0030.0235.83
4.3.90.0000.0305.81
4.3.80.0100.0375.83
4.3.70.0100.0275.91
4.3.60.0230.0135.91
4.3.50.0100.0275.86
4.3.40.0070.0475.73
4.3.30.0000.0334.66
4.3.20.0070.0274.57
4.3.10.0070.0204.51
4.3.00.0030.0206.93

preferences:
155.55 ms | 1394 KiB | 7 Q