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. } } $child = new ChildFluent;

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.50
8.3.50.0140.00416.21
8.3.40.0040.01118.77
8.3.30.0040.01218.68
8.3.20.0000.00720.83
8.3.10.0050.00321.86
8.3.00.0100.00017.82
8.2.180.0090.00918.29
8.2.170.0150.00022.96
8.2.160.0000.01420.34
8.2.150.0030.00525.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.69
8.2.110.0100.00722.12
8.2.100.0150.00317.41
8.2.90.0060.00319.13
8.2.80.0050.00317.97
8.2.70.0050.00317.50
8.2.60.0000.00817.55
8.2.50.0030.00518.10
8.2.40.0000.00822.32
8.2.30.0040.00419.05
8.2.20.0000.00717.97
8.2.10.0040.00418.01
8.2.00.0040.00417.86
8.1.280.0100.01025.92
8.1.270.0080.00023.64
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00423.92
8.1.230.0070.00322.20
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0050.00517.11
8.1.190.0000.00817.22
8.1.180.0060.00318.10
8.1.170.0080.00018.46
8.1.160.0030.00519.01
8.1.150.0040.00418.81
8.1.140.0040.00419.46
8.1.130.0030.00318.75
8.1.120.0000.00817.43
8.1.110.0000.00817.26
8.1.100.0000.00817.43
8.1.90.0040.00417.44
8.1.80.0040.00417.29
8.1.70.0030.00317.37
8.1.60.0030.00617.54
8.1.50.0040.00417.47
8.1.40.0030.00617.50
8.1.30.0000.00717.51
8.1.20.0080.00017.70
8.1.10.0040.00417.52
8.1.00.0000.00817.35
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0000.00718.38
8.0.270.0040.00417.21
8.0.260.0030.00316.66
8.0.250.0060.00016.80
8.0.240.0000.00716.88
8.0.230.0000.00716.89
8.0.220.0000.00616.84
8.0.210.0000.00716.78
8.0.200.0030.00316.89
8.0.190.0040.00416.94
8.0.180.0000.00816.84
8.0.170.0030.00316.83
8.0.160.0050.00316.82
8.0.150.0030.00316.73
8.0.140.0030.00316.83
8.0.130.0000.00513.34
8.0.120.0000.00716.84
8.0.110.0040.00416.84
8.0.100.0000.00716.68
8.0.90.0040.00416.82
8.0.80.0080.00816.70
8.0.70.0040.00416.70
8.0.60.0040.00416.69
8.0.50.0000.00716.61
8.0.30.0030.01516.87
8.0.20.0090.01117.40
8.0.10.0040.00416.84
8.0.00.0000.01716.66
7.4.330.0050.00015.55
7.4.320.0000.00616.44
7.4.300.0000.00716.59
7.4.290.0090.00016.52
7.4.280.0050.00316.59
7.4.270.0030.00316.43
7.4.260.0030.00313.30
7.4.250.0040.00416.54
7.4.240.0070.00016.43
7.4.230.0030.00316.59
7.4.220.0030.02116.50
7.4.210.0000.01316.63
7.4.200.0070.00016.47
7.4.160.0050.01016.54
7.4.150.0130.00717.40
7.4.140.0130.01217.86
7.4.130.0090.00916.49
7.4.120.0110.00816.42
7.4.110.0000.01716.57
7.4.100.0070.01016.56
7.4.90.0030.01416.43
7.4.80.0030.01419.39
7.4.70.0120.00516.50
7.4.60.0130.00316.51
7.4.50.0110.00416.33
7.4.40.0110.00616.35
7.4.30.0100.00616.51
7.4.00.0000.01514.84
7.3.330.0060.00013.06
7.3.320.0000.00513.01
7.3.310.0060.00016.13
7.3.300.0030.00316.28
7.3.290.0070.01016.26
7.3.280.0100.00716.22
7.3.270.0060.00917.40
7.3.260.0100.00716.27
7.3.250.0150.00516.27
7.3.240.0050.01216.32
7.3.230.0080.00816.35
7.3.210.0100.00716.33
7.3.200.0100.00716.30
7.3.190.0000.01616.15
7.3.180.0090.01216.23
7.3.170.0030.01316.18
7.3.160.0090.01016.32
7.3.120.0100.00714.90
7.3.110.0030.01014.70
7.3.100.0080.00814.63
7.3.90.0030.01014.49
7.3.80.0000.00914.49
7.3.70.0070.01014.59
7.3.60.0060.00614.36
7.3.50.0030.01014.36
7.3.40.0000.01714.35
7.3.30.0000.01114.48
7.3.20.0040.01216.53
7.3.10.0070.00716.70
7.3.00.0060.00616.62
7.2.330.0120.00616.34
7.2.320.0090.00916.54
7.2.310.0110.00616.71
7.2.300.0060.00916.60
7.2.290.0060.01116.73
7.2.240.0070.01015.20
7.2.230.0080.00614.91
7.2.220.0030.00715.18
7.2.210.0070.00414.74
7.2.200.0070.00714.85
7.2.190.0030.01014.91
7.2.180.0100.00714.62
7.2.170.0000.01714.87
7.2.160.0080.00414.83
7.2.150.0060.00916.76
7.2.140.0070.01016.74
7.2.130.0040.00916.51
7.2.120.0040.01416.62
7.2.110.0080.00816.79
7.2.100.0030.00716.70
7.2.90.0070.00716.61
7.2.80.0070.00716.96
7.2.70.0100.00616.80
7.2.60.0090.00516.68
7.2.50.0030.00716.63
7.2.40.0060.00316.68
7.2.30.0080.00416.90
7.2.20.0060.00316.84
7.2.10.0030.01016.78
7.2.00.0040.00816.76
7.1.330.0060.00715.83
7.1.320.0070.00715.38
7.1.310.0070.00615.65
7.1.300.0120.00015.36
7.1.290.0120.00415.81
7.1.280.0070.00315.80
7.1.270.0090.00615.56
7.1.260.0070.00415.36
7.1.250.0090.00615.57
7.1.200.0040.00715.41
7.1.70.0100.00716.96
7.1.60.1000.01333.32
7.1.50.0970.02032.83
7.1.40.1500.01332.39
7.1.30.1130.00732.69
7.1.20.1200.01332.56
7.1.10.1070.01014.57
7.1.00.0900.01314.73
7.0.200.0700.01314.96
7.0.190.0700.01014.52
7.0.180.1400.02314.57
7.0.170.0900.01314.27
7.0.160.0930.01314.27
7.0.150.1030.01714.26
7.0.140.0630.01314.61
7.0.130.0100.00714.60
7.0.120.1000.00714.60
7.0.110.0100.01314.63
7.0.100.1030.01314.43
7.0.90.1670.02014.45
7.0.80.1030.01014.38
7.0.70.0970.01714.44
7.0.60.0000.01714.27
7.0.50.1070.00714.43
7.0.40.1130.01014.40
7.0.30.1130.01014.45
7.0.20.1170.01714.38
7.0.10.0000.01714.36
7.0.00.0200.01714.51

preferences:
49.21 ms | 400 KiB | 5 Q