3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { public const DEFAULT_VALUE = 'gambrinus'; } class Foo implements I { const BAR = self::DEFAULT_VALUE; }

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)
8.5.30.0110.00818.64
8.5.20.0090.00919.49
8.5.10.0100.00918.44
8.5.00.0120.01019.65
8.4.180.0100.01122.05
8.4.170.0070.00320.30
8.4.160.0150.00820.51
8.4.150.0020.00014.05
8.4.140.0130.00717.36
8.4.130.0110.01018.64
8.4.120.0040.00720.92
8.4.110.0130.01018.64
8.4.100.0100.00917.68
8.4.90.0100.01020.30
8.4.80.0030.00518.75
8.4.70.0150.00420.50
8.4.60.0110.00920.65
8.4.50.0100.00919.44
8.4.40.0070.01417.46
8.4.30.0040.00418.61
8.4.20.0100.01017.98
8.4.10.0100.00619.25
8.3.300.0140.00620.69
8.3.290.0120.00820.78
8.3.280.0100.01018.29
8.3.270.0120.01018.52
8.3.260.0070.00416.38
8.3.250.0050.00417.06
8.3.240.0030.00516.25
8.3.230.0030.00516.66
8.3.220.0100.00918.81
8.3.210.0070.00316.72
8.3.200.0050.00416.32
8.3.190.0050.00417.36
8.3.180.0110.00816.55
8.3.170.0120.00618.95
8.3.160.0060.00618.21
8.3.150.0160.00316.42
8.3.140.0190.00316.54
8.3.130.0180.00617.35
8.3.120.0180.00717.65
8.3.110.0130.01018.69
8.3.100.0230.00520.15
8.3.90.0230.00321.58
8.3.80.0200.00516.52
8.3.70.0120.01016.60
8.3.60.0160.00417.40
8.3.50.0190.00617.96
8.3.40.0250.00518.41
8.3.30.0190.00518.01
8.3.20.0170.00420.78
8.3.10.0160.00621.09
8.3.00.0090.00822.57
8.2.300.0110.01120.20
8.2.290.0130.00717.09
8.2.280.0130.00620.07
8.2.270.0000.00816.88
8.2.260.0050.00317.04
8.2.250.0210.00817.34
8.2.240.0150.00616.63
8.2.230.0140.00819.42
8.2.220.0090.01027.79
8.2.210.0180.00921.49
8.2.200.0200.00316.29
8.2.190.0210.00816.42
8.2.180.0210.00921.06
8.2.170.0220.01117.81
8.2.160.0190.00920.20
8.2.150.0160.00921.55
8.2.140.0240.00620.93
8.2.130.0220.00421.68
8.2.120.0220.00219.29
8.2.110.0150.00620.60
8.2.100.0160.00518.65
8.2.90.0180.00318.41
8.2.80.0110.00418.61
8.2.70.0150.00418.29
8.2.60.0090.00717.69
8.2.50.0150.00617.86
8.2.40.0140.00518.38
8.2.30.0080.00518.30
8.2.20.0100.00618.35
8.2.10.0120.00617.76
8.2.00.0140.00417.98
8.1.340.0140.00719.98
8.1.330.0220.00915.79
8.1.320.0090.01017.69
8.1.310.0030.01016.69
8.1.300.0230.00616.03
8.1.290.0180.00817.54
8.1.280.0200.00821.06
8.1.270.0240.00619.34
8.1.260.0200.00521.85
8.1.250.0190.00322.53
8.1.240.0120.00818.90
8.1.230.0070.00818.84
8.1.220.0070.00517.84
8.1.210.0150.00118.58
8.1.200.0140.00617.51
8.1.190.0080.00517.32
8.1.180.0090.00517.62
8.1.170.0100.00617.81
8.1.160.0110.00517.86
8.1.150.0150.00417.72
8.1.140.0120.00517.53
8.1.130.0120.00517.45
8.1.120.0120.00517.54
8.1.110.0110.00617.55
8.1.100.0120.00617.58
8.1.90.0110.00717.53
8.1.80.0120.00417.48
8.1.70.0100.00417.46
8.1.60.0100.00617.51
8.1.50.0130.00417.54
8.1.40.0120.00617.57
8.1.30.0140.00417.60
8.1.20.0110.00617.57
8.1.10.0080.00617.42
8.1.00.0150.00517.34
8.0.300.0100.00618.58
8.0.290.0080.00916.98
8.0.280.0110.00517.31
8.0.270.0160.00316.98
8.0.260.0130.00416.95
8.0.250.0120.00417.07
8.0.240.0110.00617.00
8.0.230.0120.00417.12
8.0.220.0120.00416.92
8.0.210.0110.00416.98
8.0.200.0100.00516.92
8.0.190.0120.00416.97
8.0.180.0130.00416.94
8.0.170.0120.00616.90
8.0.160.0130.00517.13
8.0.150.0090.00617.01
8.0.140.0120.00416.96
8.0.130.0120.00517.17
8.0.120.0130.00416.98
8.0.110.0130.00516.82
8.0.100.0140.00416.83
8.0.90.0130.00316.83
8.0.80.0110.00416.85
8.0.70.0130.00416.83
8.0.60.0120.00516.82
8.0.50.0120.00616.82
8.0.30.0120.00516.83
8.0.20.0130.00416.88
8.0.10.0120.00516.94
8.0.00.0080.00617.17
7.4.330.0080.00415.69
7.4.320.0100.00516.80
7.4.300.0100.00416.71
7.4.290.0120.00416.87
7.4.280.0110.00416.87
7.4.270.0120.00516.74
7.4.260.0120.00616.60
7.4.250.0140.00516.71
7.4.240.0120.00616.54
7.4.230.0140.00616.56
7.4.220.0120.00516.58
7.4.210.0140.00316.53
7.4.200.0130.00516.56
7.4.190.0130.00516.59
7.4.180.0140.00516.61
7.4.160.0120.00516.61
7.4.150.0130.00516.53
7.4.140.0120.00516.52
7.4.130.0130.00516.48
7.4.120.0140.00416.48
7.4.110.0140.00516.48
7.4.100.0130.00516.56
7.4.90.0140.00516.46
7.4.80.0140.00516.46
7.4.70.0150.00316.46
7.4.60.0140.00516.46
7.4.50.0110.00616.36
7.4.40.0100.00716.40
7.4.30.0110.00516.49
7.4.20.0130.00516.46
7.4.10.0150.00316.48
7.4.00.0140.00316.50
7.3.330.0130.00516.34
7.3.320.0150.00516.31
7.3.310.0170.00316.32
7.3.300.0150.00416.32
7.3.290.0130.00616.32
7.3.280.0170.00416.32
7.3.270.0160.00316.34
7.3.260.0150.00516.33
7.3.250.0150.00416.36
7.3.240.0140.00516.32
7.3.230.0140.00416.36
7.3.220.0120.00616.38
7.3.210.0140.00516.29
7.3.200.0150.00416.29
7.3.190.0160.00416.37
7.3.180.0150.00516.33
7.3.170.0150.00516.37
7.3.160.0150.00516.35
7.3.150.0150.00316.35
7.3.140.0150.00416.34
7.3.130.0150.00516.34

preferences:
74.85 ms | 1312 KiB | 5 Q