3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface AInterface { public function test(); } interface BInterface extends AInterface { public function test($x = TRUE); } class BClass implements BInterface { public function test($x = TRUE) { // ARGH! } }

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.60.0100.01016.63
8.3.50.0110.00416.59
8.3.40.0100.00318.73
8.3.30.0110.00418.41
8.3.20.0040.00420.13
8.3.10.0050.00323.71
8.3.00.0110.00423.66
8.2.180.0040.01125.92
8.2.170.0120.00318.70
8.2.160.0100.00622.96
8.2.150.0120.00324.18
8.2.140.0110.00424.66
8.2.130.0030.00520.38
8.2.120.0040.00426.35
8.2.110.0070.00322.13
8.2.100.0070.00417.84
8.2.90.0040.00419.11
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0040.00417.80
8.2.50.0050.00318.09
8.2.40.0050.00317.62
8.2.30.0040.00419.16
8.2.20.0040.00417.99
8.2.10.0030.00517.86
8.2.00.0000.00718.04
8.1.280.0130.00625.92
8.1.270.0000.00823.79
8.1.260.0100.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00623.71
8.1.230.0040.00719.13
8.1.220.0000.00717.74
8.1.210.0060.00318.77
8.1.200.0000.00917.22
8.1.190.0030.00617.10
8.1.180.0000.00818.10
8.1.170.0030.00617.63
8.1.160.0070.00318.92
8.1.150.0040.00418.52
8.1.140.0000.00717.55
8.1.130.0000.00717.36
8.1.120.0030.00517.38
8.1.110.0040.00417.25
8.1.100.0050.00317.36
8.1.90.0040.00417.37
8.1.80.0000.00817.28
8.1.70.0000.00717.27
8.1.60.0000.00817.37
8.1.50.0060.00317.48
8.1.40.0040.00417.32
8.1.30.0030.00517.41
8.1.20.0000.00717.60
8.1.10.0040.00417.22
8.1.00.0040.00417.18
8.0.300.0050.00219.09
8.0.290.0090.00016.58
8.0.280.0060.00318.48
8.0.270.0060.00316.80
8.0.260.0030.00316.79
8.0.250.0000.00716.84
8.0.240.0000.00716.75
8.0.230.0000.00716.85
8.0.220.0030.00316.82
8.0.210.0030.00316.82
8.0.200.0030.00316.76
8.0.190.0030.00516.77
8.0.180.0000.00716.86
8.0.170.0070.00016.85
8.0.160.0040.00416.80
8.0.150.0040.00416.81
8.0.140.0060.00316.66
8.0.130.0060.00013.18
8.0.120.0040.00416.81
8.0.110.0050.00316.73
8.0.100.0000.00816.64
8.0.90.0000.00716.82
8.0.80.0070.00716.70
8.0.70.0040.00416.76
8.0.60.0050.00216.84
8.0.50.0050.00316.79
8.0.30.0120.00716.89
8.0.20.0120.00817.40
8.0.10.0030.00316.79
8.0.00.0100.01016.84
7.4.330.0000.00516.91
7.4.320.0030.00316.37
7.4.300.0000.00616.48
7.4.290.0040.00416.52
7.4.280.0050.00516.46
7.4.270.0000.00616.33
7.4.260.0060.00016.50
7.4.250.0050.00316.48
7.4.240.0070.00016.42
7.4.230.0030.00316.27
7.4.220.0120.00916.33
7.4.210.0090.00916.63
7.4.200.0040.00416.43
7.4.160.0110.00416.49
7.4.150.0180.00017.40
7.4.140.0150.00617.86
7.4.130.0130.00316.64
7.4.120.0150.00716.46
7.4.110.0030.01416.61
7.4.100.0110.00616.48
7.4.90.0030.01316.33
7.4.80.0030.01319.39
7.4.70.0120.00616.39
7.4.60.0060.01216.27
7.4.50.0000.01616.56
7.4.40.0090.00616.37
7.4.30.0130.00316.33
7.4.00.0030.01014.94
7.3.330.0030.00313.16
7.3.320.0000.00513.23
7.3.310.0000.00716.00
7.3.300.0070.00016.23
7.3.290.0000.00716.17
7.3.280.0110.00816.18
7.3.270.0150.01217.40
7.3.260.0150.01016.36
7.3.250.0120.00716.45
7.3.240.0090.00716.31
7.3.230.0110.00516.54
7.3.210.0070.01016.08
7.3.200.0100.00716.62
7.3.190.0130.00316.43
7.3.180.0030.01316.36
7.3.170.0060.00916.39
7.3.160.0130.00916.49
7.2.330.0100.00716.37
7.2.320.0080.01116.48
7.2.310.0090.01316.54
7.2.300.0100.01016.46
7.2.290.0000.01616.63
7.2.60.0230.00816.52
7.2.50.0030.00916.95
7.1.200.0060.00615.55
7.1.110.0660.00815.83
7.1.100.0550.00715.92
7.1.90.0650.00715.68
7.1.80.0580.00615.97
7.1.70.0360.00515.19
7.1.60.0660.01233.08
7.1.50.0760.01232.82
7.1.40.0550.00932.41
7.1.30.0680.01032.45
7.1.20.0590.01132.57
7.1.10.0360.00814.58
7.1.00.0400.01214.68
7.0.250.0390.01115.64
7.0.240.0620.00515.72
7.0.230.0420.00915.51
7.0.220.0530.00615.58
7.0.210.0380.01014.58
7.0.200.0690.01014.67
7.0.190.0530.01214.69
7.0.180.0430.00914.23
7.0.170.0460.00514.29
7.0.160.0460.01114.29
7.0.150.0600.01214.01
7.0.140.0650.00814.23
7.0.130.0780.00514.64
7.0.120.0460.00914.60
7.0.110.0400.00714.25
7.0.100.0520.00814.29
7.0.90.0530.00914.22
7.0.80.0510.01014.43
7.0.70.0470.01014.27
7.0.60.0360.01014.12
7.0.50.0610.00814.41
7.0.40.0550.00814.52
7.0.30.0360.01014.50
7.0.20.0540.01214.42
7.0.10.0380.00914.52
7.0.00.0330.00914.53

preferences:
61.16 ms | 400 KiB | 5 Q