3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A{ const $a; }

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.4.270.0100.06719.10
5.4.260.0170.05318.99
5.4.250.0170.04318.99
5.4.240.0100.05719.09
5.4.230.0130.08019.01
5.4.220.0130.07018.79
5.4.210.0130.04718.84
5.4.200.0170.04318.75
5.4.190.0070.08718.90
5.4.180.0130.06019.09
5.4.170.0200.06019.09
5.4.160.0100.05718.73
5.4.150.0170.05718.79
5.4.140.0030.05316.44
5.4.130.0130.06716.42
5.4.120.0070.05316.38
5.4.110.0170.05316.55
5.4.100.0070.06716.33
5.4.90.0130.06716.62
5.4.80.0100.06716.45
5.4.70.0070.07716.50
5.4.60.0230.04316.30
5.4.50.0030.05316.46
5.4.40.0030.07716.51
5.4.30.0170.06716.63
5.4.20.0100.07016.48
5.4.10.0070.06016.45
5.4.00.0030.07015.84
5.3.280.0130.05714.81
5.3.270.0030.07014.63
5.3.260.0000.08314.66
5.3.250.0130.05314.76
5.3.240.0100.05314.43
5.3.230.0030.05314.65
5.3.220.0130.04714.46
5.3.210.0030.07314.65
5.3.200.0100.07314.65
5.3.190.0100.05314.54
5.3.180.0070.05314.56
5.3.170.0030.05314.62
5.3.160.0130.04314.78
5.3.150.0100.05714.64
5.3.140.0070.08314.63
5.3.130.0100.06014.76
5.3.120.0100.07314.68
5.3.110.0070.08314.53
5.3.100.0200.06314.00
5.3.90.0070.07014.23
5.3.80.0130.04314.10
5.3.70.0100.05714.02
5.3.60.0070.06014.17
5.3.50.0100.06314.01
5.3.40.0200.04013.92
5.3.30.0100.07014.00
5.3.20.0070.06013.77
5.3.10.0100.04713.82
5.3.00.0030.05713.62
5.2.170.0170.03311.04
5.2.160.0070.05710.96
5.2.150.0030.04311.09
5.2.140.0000.04710.96
5.2.130.0130.05311.16
5.2.120.0070.04310.92
5.2.110.0070.04711.16
5.2.100.0030.05711.06
5.2.90.0070.05711.27
5.2.80.0030.04311.17
5.2.70.0070.04311.05
5.2.60.0070.05311.13
5.2.50.0070.05711.20
5.2.40.0070.04011.07
5.2.30.0070.04011.03
5.2.20.0070.03711.05
5.2.10.0000.04310.95
5.2.00.0070.04010.88
5.1.60.0000.0539.82
5.1.50.0130.0279.98
5.1.40.0100.03310.21
5.1.30.0100.04310.32
5.1.20.0100.03710.30
5.1.10.0070.0379.98
5.1.00.0130.02710.04
5.0.50.0030.0378.46
5.0.40.0070.0278.49
5.0.30.0030.0608.31
5.0.20.0070.0238.27
5.0.10.0070.0238.16
5.0.00.0030.0438.24
4.4.90.0000.0235.77
4.4.80.0070.0205.90
4.4.70.0100.0175.75
4.4.60.0070.0175.75
4.4.50.0100.0175.82
4.4.40.0000.0435.89
4.4.30.0030.0305.90
4.4.20.0070.0235.96
4.4.10.0100.0275.88
4.4.00.0000.0335.87
4.3.110.0030.0235.85
4.3.100.0000.0335.77
4.3.90.0000.0275.88
4.3.80.0070.0335.76
4.3.70.0030.0205.71
4.3.60.0030.0205.88
4.3.50.0070.0275.77
4.3.40.0130.0305.68
4.3.30.0070.0235.13
4.3.20.0000.0305.13
4.3.10.0030.0275.13
4.3.00.0070.0307.13

preferences:
137.33 ms | 1398 KiB | 7 Q