3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); class Fluent { public function __construct($a = null) { // New signature. } } class ChildFluent extends Fluent { public function __construct($a = []){ // Old signature. } }

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.00716.38
8.3.50.0040.01416.23
8.3.40.0140.00018.77
8.3.30.0040.01118.48
8.3.20.0080.00020.73
8.3.10.0030.00521.89
8.3.00.0070.00319.75
8.2.180.0070.01418.19
8.2.170.0080.00822.96
8.2.160.0080.00820.44
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0070.00020.35
8.2.120.0080.00026.35
8.2.110.0030.01422.20
8.2.100.0090.00617.34
8.2.90.0050.00318.95
8.2.80.0060.00317.97
8.2.70.0030.00617.38
8.2.60.0060.00317.93
8.2.50.0000.00818.10
8.2.40.0040.00422.20
8.2.30.0000.00719.15
8.2.20.0050.00317.84
8.2.10.0030.00417.99
8.2.00.0040.00417.86
8.1.280.0030.01725.92
8.1.270.0030.00523.96
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0090.00023.97
8.1.230.0040.00722.31
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0000.00817.10
8.1.180.0050.00318.10
8.1.170.0000.00818.31
8.1.160.0070.00019.06
8.1.150.0000.00718.86
8.1.140.0030.00519.44
8.1.130.0070.00018.67
8.1.120.0000.00717.30
8.1.110.0040.00417.21
8.1.100.0050.00317.36
8.1.90.0000.00717.32
8.1.80.0000.00717.33
8.1.70.0030.00317.33
8.1.60.0060.00317.33
8.1.50.0000.00817.42
8.1.40.0050.00317.36
8.1.30.0050.00217.48
8.1.20.0040.00417.36
8.1.10.0000.00817.27
8.1.00.0040.00417.21
8.0.300.0040.00418.77
8.0.290.0000.00716.58
8.0.280.0070.00018.22
8.0.270.0000.00817.13
8.0.260.0030.00516.68
8.0.250.0000.00716.66
8.0.240.0040.00416.80
8.0.230.0070.00016.73
8.0.220.0000.00616.79
8.0.210.0030.00416.76
8.0.200.0000.00616.83
8.0.190.0000.00816.88
8.0.180.0070.00016.68
8.0.170.0000.00716.74
8.0.160.0040.00416.88
8.0.150.0070.00016.69
8.0.140.0030.00516.61
8.0.130.0000.00613.15
8.0.120.0020.00516.72
8.0.110.0000.00816.70
8.0.100.0030.00316.66
8.0.90.0040.00416.80
8.0.80.0030.01616.75
8.0.70.0030.00516.78
8.0.60.0000.00916.66
8.0.50.0000.00716.72
8.0.30.0120.00616.82
8.0.20.0130.00517.40
8.0.10.0040.00416.70
8.0.00.0140.00316.56
7.4.330.0040.00015.55
7.4.320.0000.00716.34
7.4.300.0030.00516.40
7.4.290.0030.00716.32
7.4.280.0020.00516.25
7.4.270.0000.00716.36
7.4.260.0000.00613.13
7.4.250.0000.00716.29
7.4.240.0000.00716.38
7.4.230.0000.00716.55
7.4.220.0200.00316.49
7.4.210.0110.00416.49
7.4.200.0050.00216.40
7.4.160.0080.00716.42
7.4.150.0140.00317.40
7.4.140.0110.01217.86
7.4.130.0130.00616.21
7.4.120.0100.01016.39
7.4.110.0100.01016.35
7.4.100.0150.00816.36
7.4.90.0100.00616.28
7.4.80.0130.00319.39
7.4.70.0110.00816.45
7.4.60.0030.01216.27
7.4.50.0110.00716.52
7.4.40.0000.01716.16
7.4.30.0090.00916.38
7.4.00.0140.00314.91
7.3.330.0070.00013.02
7.3.320.0030.00313.15
7.3.310.0040.00416.20
7.3.300.0040.00416.21
7.3.290.0120.00416.19
7.3.280.0080.00716.15
7.3.270.0150.00317.40
7.3.260.0130.00816.34
7.3.250.0100.01016.18
7.3.240.0130.00516.34
7.3.230.0140.00716.10
7.3.210.0090.00616.39
7.3.200.0100.00716.22
7.3.190.0030.01416.45
7.3.180.0060.01016.34
7.3.170.0100.00716.23
7.3.160.0130.00316.34
7.2.330.0130.00316.62
7.2.320.0070.01016.46
7.2.310.0060.01216.14
7.2.300.0110.00816.32
7.2.290.0040.01316.39
7.2.60.0030.01316.41
7.2.00.0060.00619.35
7.1.200.0070.00715.58
7.1.100.0040.00918.07
7.1.70.0000.00717.04
7.1.60.0730.01032.91
7.1.50.0930.01332.95
7.1.40.1300.01332.50
7.1.30.1070.01332.55
7.1.20.0800.01732.68
7.1.10.0900.01714.54
7.1.00.0670.01014.67
7.0.200.1000.01314.72
7.0.190.0770.01314.69
7.0.180.0830.01014.34
7.0.170.0730.01314.51
7.0.160.0530.01014.20
7.0.150.0770.01314.47
7.0.140.0830.01014.41
7.0.130.0130.00714.43
7.0.120.0800.01314.55
7.0.110.0870.00714.36
7.0.100.0770.01314.36
7.0.90.0700.01314.14
7.0.80.0800.01714.44
7.0.70.0800.01014.27
7.0.60.0770.01014.10
7.0.50.0700.01714.64
7.0.40.0730.00314.71
7.0.30.0670.01014.43
7.0.20.0730.00314.70
7.0.10.0730.01714.42
7.0.00.0670.01014.40

preferences:
60.29 ms | 400 KiB | 5 Q