3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); class Fluent { public function __construct($a = null, $b = 'strng') { // 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.0140.00316.38
8.3.50.0060.00916.06
8.3.40.0110.00418.71
8.3.30.0110.00418.65
8.3.20.0050.00320.77
8.3.10.0040.00421.71
8.3.00.0090.00017.76
8.2.180.0030.01516.38
8.2.170.0000.01422.96
8.2.160.0110.00419.25
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00420.35
8.2.120.0000.00726.35
8.2.110.0050.00520.35
8.2.100.0080.00317.59
8.2.90.0040.00419.28
8.2.80.0060.00317.97
8.2.70.0030.00517.50
8.2.60.0000.00817.93
8.2.50.0040.00418.10
8.2.40.0000.00720.46
8.2.30.0040.00419.23
8.2.20.0030.00317.94
8.2.10.0040.00418.04
8.2.00.0040.00417.91
8.1.280.0130.01025.92
8.1.270.0030.00523.92
8.1.260.0070.00026.35
8.1.250.0050.00228.09
8.1.240.0100.00022.56
8.1.230.0030.00919.05
8.1.220.0070.00017.74
8.1.210.0030.00518.77
8.1.200.0000.01017.22
8.1.190.0000.00917.10
8.1.180.0080.00018.10
8.1.170.0040.00418.54
8.1.160.0000.00718.99
8.1.150.0070.00018.73
8.1.140.0040.00419.41
8.1.130.0030.00318.81
8.1.120.0000.00817.30
8.1.110.0070.00017.28
8.1.100.0030.00517.38
8.1.90.0040.00417.43
8.1.80.0030.00317.30
8.1.70.0030.00317.41
8.1.60.0000.00917.63
8.1.50.0000.00817.50
8.1.40.0040.00417.46
8.1.30.0060.00317.64
8.1.20.0080.00017.64
8.1.10.0000.00717.36
8.1.00.0000.00717.43
8.0.300.0050.00318.77
8.0.290.0050.00316.58
8.0.280.0030.00318.36
8.0.270.0040.00417.18
8.0.260.0040.00416.66
8.0.250.0000.00716.88
8.0.240.0040.00416.94
8.0.230.0000.00716.86
8.0.220.0070.00016.72
8.0.210.0040.00416.71
8.0.200.0060.00016.90
8.0.190.0050.00316.79
8.0.180.0050.00316.82
8.0.170.0070.00016.92
8.0.160.0060.00316.95
8.0.150.0040.00416.77
8.0.140.0040.00416.70
8.0.130.0030.00313.20
8.0.120.0000.00716.67
8.0.110.0000.00716.77
8.0.100.0030.00516.82
8.0.90.0050.00316.71
8.0.80.0100.00716.76
8.0.70.0040.00416.79
8.0.60.0080.00016.89
8.0.50.0000.00716.78
8.0.30.0120.00816.77
8.0.20.0110.00817.40
8.0.10.0000.00716.74
8.0.00.0120.00616.57
7.4.330.0060.00015.55
7.4.320.0060.00016.54
7.4.300.0000.00616.66
7.4.290.0040.00816.43
7.4.280.0000.00816.48
7.4.270.0040.00416.58
7.4.260.0030.00313.30
7.4.250.0040.00316.49
7.4.240.0070.00016.51
7.4.230.0070.00016.67
7.4.220.0140.01016.52
7.4.210.0110.00416.60
7.4.200.0030.00316.40
7.4.160.0090.00916.50
7.4.150.0100.00717.40
7.4.140.0080.00917.86
7.4.130.0100.01016.57
7.4.120.0080.01216.47
7.4.110.0060.01116.51
7.4.100.0100.00716.51
7.4.90.0130.00316.59
7.4.80.0040.01519.39
7.4.70.0030.01316.52
7.4.60.0100.01016.50
7.4.50.0040.01116.52
7.4.40.0060.00916.41
7.4.30.0100.00716.60
7.4.00.0060.01014.99
7.3.330.0050.00013.05
7.3.320.0000.00613.26
7.3.310.0060.00316.13
7.3.300.0040.00416.11
7.3.290.0080.00916.23
7.3.280.0080.01016.21
7.3.270.0060.01217.40
7.3.260.0090.00916.31
7.3.250.0090.01016.21
7.3.240.0070.01016.43
7.3.230.0090.00816.25
7.3.210.0130.00316.34
7.3.200.0130.00416.25
7.3.190.0090.01216.19
7.3.180.0120.00616.32
7.3.170.0130.00316.32
7.3.160.0060.01316.45
7.2.330.0170.00016.63
7.2.320.0110.01116.47
7.2.310.0060.00916.57
7.2.300.0060.01616.61
7.2.290.0150.00616.37
7.2.60.0070.00716.73
7.2.00.0090.00619.36
7.1.200.0070.00715.69
7.1.100.0080.00318.20
7.1.70.0040.00417.10
7.1.60.1330.01033.21
7.1.50.1170.01732.63
7.1.40.1270.02332.54
7.1.30.1170.01732.54
7.1.20.1230.01332.72
7.1.10.0900.01014.63
7.1.00.0730.01014.63
7.0.200.1030.01714.79
7.0.190.1170.01014.70
7.0.180.1100.02014.49
7.0.170.1130.01014.57
7.0.160.1030.01314.24
7.0.150.1070.01714.29
7.0.140.0070.01014.36
7.0.130.0030.01314.36
7.0.120.1430.02314.64
7.0.110.1030.01314.44
7.0.100.0570.01314.41
7.0.90.0030.01314.37
7.0.80.0070.00714.48
7.0.70.0100.00714.61
7.0.60.0070.01014.35
7.0.50.1330.01014.64
7.0.40.0930.01014.48
7.0.30.1270.01314.32
7.0.20.0030.01314.43
7.0.10.0030.01314.52
7.0.00.1130.01314.45

preferences:
38.37 ms | 400 KiB | 5 Q