3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Concrete5_Helper_Date { const CONST1 = 'core1'; const CONST2 = 'core2'; public static test1() { echo "test1: ", self::CONST1, ", ", self::CONST2, "\n"; } } class DateHelper extends Concrete5_Helper_Date { const CONST2 = 'override2'; public static test2() { echo "test1: ", self::CONST1, ", ", self::CONST2, "\n"; } } DateHelper::test1(); DateHelper::test2();

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.280.0080.05012.37
5.4.270.0080.05012.37
5.4.260.0080.05012.38
5.4.250.0070.04112.38
5.4.240.0040.04012.37
5.4.230.0080.04112.36
5.4.220.0100.04712.36
5.4.210.0110.05512.37
5.4.200.0180.09312.37
5.4.190.0180.09112.36
5.4.180.0060.05912.36
5.4.170.0100.05912.37
5.4.160.0080.06312.36
5.4.150.0160.04712.36
5.4.140.0110.07012.05
5.4.130.0140.06912.04
5.4.120.0120.06812.00
5.4.110.0120.06811.99
5.4.100.0090.06611.99
5.4.90.0110.05912.00
5.4.80.0110.06211.99
5.4.70.0160.05311.99
5.4.60.0080.06111.99
5.4.50.0110.08112.00
5.4.40.0110.05511.98
5.4.30.0070.06011.98
5.4.20.0280.09011.97
5.4.10.0130.06011.97
5.4.00.0080.05711.47
5.3.280.0110.06212.71
5.3.270.0090.07012.73
5.3.260.0110.06612.72
5.3.250.0230.11912.72
5.3.240.0190.08012.72
5.3.230.0130.06812.71
5.3.220.0110.04912.68
5.3.210.0150.05312.68
5.3.200.0070.05412.68
5.3.190.0130.06012.68
5.3.180.0200.05612.67
5.3.170.0110.06012.67
5.3.160.0210.05812.67
5.3.150.0160.06312.67
5.3.140.0190.05312.66
5.3.130.0250.04912.66
5.3.120.0130.06112.66
5.3.110.0070.06012.65
5.3.100.0110.05712.11
5.3.90.0190.11112.08
5.3.80.0180.05912.07
5.3.70.0080.06012.07
5.3.60.0220.09712.06
5.3.50.0110.08612.00
5.3.40.0090.05812.00
5.3.30.0070.04911.95
5.3.20.0090.04711.73
5.3.10.0130.09611.70
5.3.00.0140.08811.70
5.2.170.0050.0469.18
5.2.160.0070.0429.19
5.2.150.0060.0459.18
5.2.140.0080.0419.18
5.2.130.0040.0449.13
5.2.120.0080.0399.14
5.2.110.0070.0469.14
5.2.100.0090.0459.14
5.2.90.0080.0469.14
5.2.80.0070.0479.14
5.2.70.0080.0469.13
5.2.60.0080.0469.09
5.2.50.0080.0459.06
5.2.40.0100.0359.04
5.2.30.0070.0439.01
5.2.20.0080.0459.00
5.2.10.0120.0568.91
5.2.00.0160.0558.77
5.1.60.0070.0338.06
5.1.50.0110.0598.06
5.1.40.0190.0628.04
5.1.30.0110.0528.39
5.1.20.0080.0538.41
5.1.10.0050.0448.14
5.1.00.0130.0508.14
5.0.50.0040.0296.61
5.0.40.0070.0496.47
5.0.30.0040.0456.28
5.0.20.0040.0276.25
5.0.10.0050.0286.23
5.0.00.0060.0386.22
4.4.90.0050.0274.78
4.4.80.0040.0184.76
4.4.70.0020.0244.75
4.4.60.0030.0224.76
4.4.50.0020.0194.77
4.4.40.0020.0284.71
4.4.30.0030.0164.76
4.4.20.0030.0174.85
4.4.10.0060.0214.85
4.4.00.0050.0324.76
4.3.110.0040.0234.67
4.3.100.0070.0274.66
4.3.90.0080.0224.63
4.3.80.0100.0424.58
4.3.70.0030.0254.63
4.3.60.0160.0404.63
4.3.50.0110.0314.63
4.3.40.0030.0414.53
4.3.30.0030.0213.29
4.3.20.0010.0193.26
4.3.10.0040.0153.23
4.3.00.0100.01713.64

preferences:
141.55 ms | 1394 KiB | 7 Q