3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface foo {} class bar implements foo {} function test() : foo { return new bar; } test();

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.3.70.0130.00316.38
8.3.60.0140.00016.25
8.3.50.0140.00517.34
8.3.40.0000.01418.72
8.3.30.0100.00318.54
8.3.20.0040.00420.09
8.3.10.0030.00520.91
8.3.00.0050.00320.95
8.2.180.0140.01116.38
8.2.170.0150.00022.96
8.2.160.0110.00719.22
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0000.00718.09
8.2.120.0040.00426.35
8.2.110.0040.00722.27
8.2.100.0070.00417.72
8.2.90.0000.00819.16
8.2.80.0060.00318.03
8.2.70.0090.00017.63
8.2.60.0050.00317.93
8.2.50.0060.00318.10
8.2.40.0060.00322.10
8.2.30.0040.00419.26
8.2.20.0000.00718.03
8.2.10.0040.00418.04
8.2.00.0050.00217.86
8.1.280.0120.00625.92
8.1.270.0050.00322.02
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00422.14
8.1.230.0060.00619.21
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0000.00817.10
8.1.180.0020.00518.10
8.1.170.0000.00818.71
8.1.160.0040.00418.94
8.1.150.0050.00218.78
8.1.140.0040.00419.42
8.1.130.0000.00818.72
8.1.120.0080.00017.32
8.1.110.0030.00517.44
8.1.100.0000.00717.28
8.1.90.0000.00717.37
8.1.80.0040.00417.35
8.1.70.0000.00717.39
8.1.60.0030.00517.54
8.1.50.0000.00817.46
8.1.40.0000.00817.43
8.1.30.0050.00217.55
8.1.20.0050.00317.50
8.1.10.0000.00817.41
8.1.00.0040.00417.25
8.0.300.0050.00218.77
8.0.290.0000.00816.75
8.0.280.0040.00418.48
8.0.270.0030.00317.19
8.0.260.0000.00620.89
8.0.250.0000.00616.96
8.0.240.0050.00316.88
8.0.230.0050.00316.78
8.0.220.0070.00016.89
8.0.210.0080.00016.78
8.0.200.0000.00617.00
8.0.190.0040.00416.88
8.0.180.0040.00416.79
8.0.170.0040.00416.78
8.0.160.0000.00716.77
8.0.150.0000.00716.71
8.0.140.0000.00716.85
8.0.130.0030.00313.27
8.0.120.0080.00016.87
8.0.110.0000.00816.76
8.0.100.0070.00016.73
8.0.90.0050.00216.90
8.0.80.0060.01316.93
8.0.70.0000.00716.88
8.0.60.0040.00416.68
8.0.50.0040.00416.87
8.0.30.0100.00716.91
8.0.20.0080.01317.40
8.0.10.0040.00417.07
8.0.00.0120.00916.61
7.4.330.0000.00515.55
7.4.320.0060.00016.54
7.4.300.0070.00016.52
7.4.290.0070.00016.49
7.4.280.0000.00816.53
7.4.270.0000.00816.42
7.4.260.0000.00716.41
7.4.250.0030.00316.39
7.4.240.0000.00716.53
7.4.230.0040.00416.48
7.4.220.0120.01216.39
7.4.210.0060.01016.47
7.4.200.0040.00416.46
7.4.160.0130.00816.59
7.4.150.0180.00017.40
7.4.140.0060.01317.86
7.4.130.0150.00316.26
7.4.120.0110.00716.41
7.4.110.0120.00616.55
7.4.100.0090.00916.47
7.4.90.0090.00916.54
7.4.80.0130.00419.39
7.4.70.0090.01316.25
7.4.60.0120.00516.56
7.4.50.0040.00816.43
7.4.40.0130.01016.53
7.4.30.0000.01616.39
7.4.00.0090.00615.08
7.3.330.0020.00213.26
7.3.320.0000.00813.08
7.3.310.0030.00316.15
7.3.300.0000.00716.29
7.3.290.0030.00316.21
7.3.280.0100.00616.28
7.3.270.0090.00917.40
7.3.260.0110.00816.48
7.3.250.0100.00816.34
7.3.240.0110.00716.44
7.3.230.0030.02016.36
7.3.210.0080.00816.45
7.3.200.0100.00716.25
7.3.190.0090.00616.27
7.3.180.0060.00916.32
7.3.170.0130.00316.28
7.3.160.0120.00316.33
7.3.10.0070.00716.53
7.3.00.0100.00316.43
7.2.330.0070.01016.21
7.2.320.0120.00816.70
7.2.310.0030.01216.59
7.2.300.0100.00716.65
7.2.290.0140.00716.51
7.2.130.0040.00816.86
7.2.120.0040.01216.85
7.2.110.0000.01116.63
7.2.100.0070.00716.58
7.2.90.0070.00716.91
7.2.80.0060.00616.81
7.2.70.0000.01216.91
7.2.60.0060.00616.68
7.2.50.0050.00616.68
7.2.40.0140.00016.95
7.2.30.0060.00616.83
7.2.20.0120.00316.75
7.2.10.0060.00616.87
7.2.00.0040.00817.02
7.1.250.0060.00615.49
7.1.200.0040.00815.56
7.1.70.0150.00417.05
7.1.60.0250.01535.15
7.1.50.0200.02034.66
7.1.40.0280.01334.08
7.1.30.0270.01534.29
7.1.20.0220.01934.52
7.1.10.0070.01616.52
7.1.00.0080.01116.42
7.0.200.0040.01516.48
7.0.190.0070.01116.77
7.0.180.0170.00415.93
7.0.170.0110.01116.07
7.0.160.0100.01016.28
7.0.150.0000.02016.08
7.0.140.0030.01216.10
7.0.130.0070.01316.34
7.0.120.0120.00616.50
7.0.110.0100.00716.24
7.0.100.0060.00916.18
7.0.90.0070.01016.11
7.0.80.0090.00916.31
7.0.70.0070.01116.10
7.0.60.0060.01115.79
7.0.50.0040.01116.23
7.0.40.0060.00916.57
7.0.30.0080.01016.23
7.0.20.0120.01016.19
7.0.10.0070.01516.25
7.0.00.0090.00916.32

preferences:
61.8 ms | 401 KiB | 5 Q