3v4l.org

run code in 300+ PHP versions simultaneously
<?php Class A { const A = 'a'; } var_dump(A::{'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.370.0170.05018.76
5.4.360.0130.05018.84
5.4.350.0170.05318.47
5.4.340.0170.04718.61
5.4.320.0130.05318.50
5.4.310.0170.05018.86
5.4.300.0030.06318.50
5.4.290.0130.05318.76
5.4.280.0200.04718.73
5.4.270.0170.05318.80
5.4.260.0030.06318.83
5.4.250.0100.06018.83
5.4.240.0200.05018.83
5.4.230.0100.05718.55
5.4.220.0170.05018.51
5.4.210.0170.05018.55
5.4.200.0230.04016.73
5.4.190.0070.05718.54
5.4.180.0230.04318.84
5.4.170.0200.04718.45
5.4.160.0200.04318.61
5.4.150.0130.05318.71
5.4.140.0070.05716.36
5.4.130.0130.04716.18
5.4.120.0100.05016.25
5.4.110.0070.05316.27
5.4.100.0170.04716.46
5.4.90.0030.06016.17
5.4.80.0300.03316.27
5.4.70.0100.05316.36
5.4.60.0130.04716.29
5.4.50.0130.04716.16
5.4.40.0170.04716.29
5.4.30.0170.04716.29
5.4.20.0170.04716.22
5.4.10.0100.05316.39
5.4.00.0100.05015.86
5.3.290.0230.04314.73
5.3.280.0130.05714.63
5.3.270.0230.04714.82
5.3.260.0170.05014.64
5.3.250.0100.06314.63
5.3.240.0100.05314.73
5.3.230.0170.04714.61
5.3.220.0030.06014.70
5.3.210.0230.06314.58
5.3.200.0270.04014.75
5.3.190.0130.05014.70
5.3.180.0170.04714.59
5.3.170.0230.04014.78
5.3.160.0130.05014.57
5.3.150.0230.04314.70
5.3.140.0170.04714.75
5.3.130.0200.04714.72
5.3.120.0100.05714.57
5.3.110.0170.04714.77
5.3.100.0100.05314.07
5.3.90.0100.05314.14
5.3.80.0170.05314.05
5.3.70.0130.05014.00
5.3.60.0130.05013.98
5.3.50.0170.04713.96
5.3.40.0130.05014.06
5.3.30.0230.03714.02
5.3.20.0170.04313.72
5.3.10.0130.05013.72
5.3.00.0130.04713.61
5.2.170.0100.04311.26
5.2.160.0100.04011.25
5.2.150.0170.03711.26
5.2.140.0130.04011.19
5.2.130.0130.03711.09
5.2.120.0130.03711.31
5.2.110.0070.04311.09
5.2.100.0230.02711.14
5.2.90.0130.03711.14
5.2.80.0170.03711.16
5.2.70.0200.03311.13
5.2.60.0130.03711.06
5.2.50.0130.03711.12
5.2.40.0130.05011.12
5.2.30.0130.04711.09
5.2.20.0100.03710.97
5.2.10.0100.04010.83
5.2.00.0070.04010.77
5.1.60.0030.04010.02
5.1.50.0130.03010.03
5.1.40.0030.03710.07
5.1.30.0100.03710.55
5.1.20.0070.03710.39
5.1.10.0000.04310.05
5.1.00.0100.03710.06
5.0.50.0070.0278.58
5.0.40.0100.0208.50
5.0.30.0070.0408.25
5.0.20.0030.0308.23
5.0.10.0070.0278.25
5.0.00.0070.0408.25
4.4.90.0070.0206.00
4.4.80.0030.0235.86
4.4.70.0070.0206.02
4.4.60.0000.0235.90
4.4.50.0100.0175.96
4.4.40.0030.0375.88
4.4.30.0100.0205.91
4.4.20.0030.0236.03
4.4.10.0070.0176.07
4.4.00.0100.0305.95
4.3.110.0100.0175.84
4.3.100.0070.0175.80
4.3.90.0070.0205.77
4.3.80.0070.0335.81
4.3.70.0000.0235.90
4.3.60.0030.0205.80
4.3.50.0070.0205.91
4.3.40.0100.0275.75
4.3.30.0030.0235.58
4.3.20.0000.0235.58
4.3.10.0000.0235.58
4.3.00.0100.0276.67

preferences:
144.36 ms | 1394 KiB | 7 Q