3v4l.org

run code in 300+ PHP versions simultaneously
<?php static $a = new stdClass();

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.20.0270.06320.02
7.0.10.0100.04719.99
7.0.00.0070.05020.00
5.6.170.0230.05720.71
5.6.160.0070.04720.55
5.6.150.0100.03318.16
5.6.140.0100.07318.12
5.6.130.0130.06718.27
5.6.120.0070.06720.97
5.6.110.0030.04020.97
5.6.100.0030.04021.10
5.6.90.0000.04320.98
5.6.80.0130.07320.53
5.5.310.0400.04720.30
5.5.300.0130.06017.96
5.5.290.0000.04717.96
5.5.280.0000.04720.77
5.5.270.0070.08320.67
5.5.260.0030.07320.72
5.5.250.0030.06020.76
5.5.240.0300.06720.36
5.4.450.0700.05719.43
5.4.440.0000.06319.45
5.4.430.0170.04719.51
5.4.420.0170.05019.41
5.4.410.0130.05719.10
5.4.400.0230.04719.29
5.4.390.0170.05319.20
5.4.380.0170.06719.29
5.4.370.0170.05018.92
5.4.360.0300.06019.20
5.4.350.0170.05019.29
5.4.340.0300.04319.13
5.4.320.0070.06719.07
5.4.310.0200.04719.20
5.4.300.0170.05319.19
5.4.290.0130.06018.91
5.4.280.0230.05019.20
5.4.270.0170.06019.07
5.4.260.0200.05019.25
5.4.250.0200.05718.91
5.4.240.0170.05019.19
5.4.230.0200.05019.23
5.4.220.0170.05019.28
5.4.210.0200.05019.28
5.4.200.0270.04019.18
5.4.190.0230.04319.19
5.4.180.0170.05019.09
5.4.170.0300.04019.27
5.4.160.0100.05319.18
5.4.150.0130.05719.10
5.4.140.0270.04016.57
5.4.130.0200.04316.45
5.4.120.0100.05316.49
5.4.110.0230.04316.29
5.4.100.0200.04316.41
5.4.90.0270.03716.26
5.4.80.0200.04716.24
5.4.70.0200.04716.49
5.4.60.0200.04316.55
5.4.50.0070.06316.48
5.4.40.0030.06316.53
5.4.30.0270.04016.52
5.4.20.0230.04316.52
5.4.10.0170.05016.38
5.4.00.0170.04715.83
5.3.290.0130.05714.49
5.3.280.0270.04014.41
5.3.270.0170.05014.43
5.3.260.0230.04314.43
5.3.250.0130.05314.57
5.3.240.0130.05314.51
5.3.230.0170.05314.57
5.3.220.0100.06014.32
5.3.210.0100.06014.50
5.3.200.0070.06014.43
5.3.190.0170.05314.50
5.3.180.0230.05014.41
5.3.170.0170.04714.45
5.3.160.0300.05314.45
5.3.150.0200.05314.38
5.3.140.0270.03714.49
5.3.130.0200.04714.39
5.3.120.0200.05714.47
5.3.110.0100.06014.41
5.3.100.0100.06713.93
5.3.90.0200.05013.96
5.3.80.0100.06313.93
5.3.70.0200.05013.80
5.3.60.0130.05313.93
5.3.50.0100.05313.77
5.3.40.0130.05013.89
5.3.30.0200.04313.71
5.3.20.0170.04313.61
5.3.10.0270.04313.51
5.3.00.0270.04313.55
5.2.170.0100.04311.12
5.2.160.0100.04011.04
5.2.150.0030.05011.10
5.2.140.0030.05010.97
5.2.130.0170.03311.05
5.2.120.0130.03710.97
5.2.110.0200.03010.95
5.2.100.0170.03311.05
5.2.90.0130.04011.00
5.2.80.0200.03310.91
5.2.70.0170.03711.21
5.2.60.0130.04010.86
5.2.50.0100.04010.88
5.2.40.0100.04010.87
5.2.30.0170.03310.89
5.2.20.0030.04310.89
5.2.10.0130.03710.79
5.2.00.0070.04310.70
5.1.60.0100.0339.86
5.1.50.0170.0279.86
5.1.40.0200.0239.96
5.1.30.0030.04010.15
5.1.20.0100.03310.35
5.1.10.0130.03010.18
5.1.00.0130.03010.01
5.0.50.0030.0308.50
5.0.40.0030.0308.35
5.0.30.0070.0478.23
5.0.20.0100.0278.16
5.0.10.0030.0338.13
5.0.00.0070.0478.00
4.4.90.0030.0235.82
4.4.80.0130.0135.79
4.4.70.0100.0175.85
4.4.60.0070.0205.86
4.4.50.0130.0135.77
4.4.40.0000.0405.80
4.4.30.0100.0175.81
4.4.20.0030.0235.82
4.4.10.0030.0235.83
4.4.00.0070.0335.82
4.3.110.0100.0175.75
4.3.100.0030.0275.71
4.3.90.0070.0175.78
4.3.80.0130.0235.74
4.3.70.0000.0275.68
4.3.60.0070.0175.65
4.3.50.0070.0205.74
4.3.40.0070.0305.69
4.3.30.0070.0205.31
4.3.20.0030.0235.31
4.3.10.0030.0205.31
4.3.00.0030.0205.31

preferences:
140.35 ms | 1394 KiB | 7 Q