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 = [], $b = 'strng'){ // 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.00718.18
8.3.50.0060.01216.29
8.3.40.0090.00618.57
8.3.30.0070.00718.77
8.3.20.0040.00420.66
8.3.10.0070.00021.74
8.3.00.0040.00419.54
8.2.180.0160.00318.41
8.2.170.0050.01022.96
8.2.160.0100.00720.34
8.2.150.0030.00624.18
8.2.140.0000.00824.66
8.2.130.0040.00420.32
8.2.120.0040.00426.35
8.2.110.0070.00322.01
8.2.100.0180.00517.85
8.2.90.0000.00919.05
8.2.80.0060.00317.97
8.2.70.0040.00417.50
8.2.60.0000.00917.80
8.2.50.0040.00418.10
8.2.40.0050.00322.22
8.2.30.0070.00019.12
8.2.20.0040.00418.04
8.2.10.0000.00718.04
8.2.00.0080.00017.91
8.1.280.0030.01425.92
8.1.270.0000.00723.92
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0070.00320.87
8.1.230.0030.00722.25
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0040.00417.35
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0050.00318.48
8.1.160.0080.00019.02
8.1.150.0050.00218.71
8.1.140.0070.00319.57
8.1.130.0000.00718.70
8.1.120.0070.00017.41
8.1.110.0040.00417.27
8.1.100.0040.00417.31
8.1.90.0000.00717.28
8.1.80.0000.00717.39
8.1.70.0000.00717.35
8.1.60.0000.00817.57
8.1.50.0040.00417.52
8.1.40.0040.00417.42
8.1.30.0040.00417.62
8.1.20.0040.00417.48
8.1.10.0040.00417.48
8.1.00.0040.00417.43
8.0.300.0020.00518.77
8.0.290.0000.00816.75
8.0.280.0030.00318.37
8.0.270.0070.00217.06
8.0.260.0060.00016.84
8.0.250.0030.00316.77
8.0.240.0000.00816.88
8.0.230.0000.00716.79
8.0.220.0060.00016.72
8.0.210.0040.00316.75
8.0.200.0030.00316.91
8.0.190.0050.00316.91
8.0.180.0000.00716.77
8.0.170.0020.00516.75
8.0.160.0040.00416.79
8.0.150.0030.00516.67
8.0.140.0000.00716.79
8.0.130.0030.00313.21
8.0.120.0040.00416.68
8.0.110.0080.00016.60
8.0.100.0070.00016.79
8.0.90.0000.00716.62
8.0.80.0070.01016.81
8.0.70.0000.00716.72
8.0.60.0040.00416.61
8.0.50.0050.00316.72
8.0.30.0080.01216.90
8.0.20.0120.00717.40
8.0.10.0030.00616.81
8.0.00.0060.01616.64
7.4.330.0030.00315.55
7.4.320.0000.00616.45
7.4.300.0000.00616.41
7.4.290.0030.00616.35
7.4.280.0050.00316.51
7.4.270.0000.00816.52
7.4.260.0030.00313.25
7.4.250.0040.00416.53
7.4.240.0070.00016.53
7.4.230.0060.00316.49
7.4.220.0260.00016.46
7.4.210.0030.01216.56
7.4.200.0030.00316.34
7.4.160.0110.00716.37
7.4.150.0090.00917.40
7.4.140.0110.00717.86
7.4.130.0090.00916.48
7.4.120.0120.00916.40
7.4.110.0120.00616.34
7.4.100.0170.00016.44
7.4.90.0000.01816.34
7.4.80.0170.00619.39
7.4.70.0110.01116.24
7.4.60.0120.00316.51
7.4.50.0060.00916.11
7.4.40.0090.00616.16
7.4.30.0130.00416.25
7.4.00.0090.00614.98
7.3.330.0000.00513.22
7.3.320.0000.00513.16
7.3.310.0030.00316.09
7.3.300.0000.00716.25
7.3.290.0090.00416.23
7.3.280.0080.00816.22
7.3.270.0100.00717.40
7.3.260.0080.00916.31
7.3.250.0070.01216.39
7.3.240.0080.00816.29
7.3.230.0030.01316.15
7.3.210.0130.00416.44
7.3.200.0040.01716.14
7.3.190.0140.00416.20
7.3.180.0100.01016.26
7.3.170.0150.00616.36
7.3.160.0120.00316.40
7.2.330.0120.00616.21
7.2.320.0130.00316.58
7.2.310.0080.00816.30
7.2.300.0100.00716.69
7.2.290.0100.00716.21
7.2.80.0000.01116.34
7.2.60.0090.00316.79
7.2.00.0030.01019.25
7.1.200.0040.00715.80
7.1.100.0060.00618.05
7.1.70.0030.00317.15
7.1.60.1430.01733.24
7.1.50.1430.01332.85
7.1.40.1470.01732.27
7.1.30.0230.01332.59
7.1.20.0100.02032.58
7.1.10.0700.01014.58
7.1.00.2130.00714.78
7.0.200.1200.01714.55
7.0.190.1530.01314.87
7.0.180.0170.01714.49
7.0.170.0030.01714.58
7.0.160.1370.00714.41
7.0.150.0000.01714.22
7.0.140.1670.01314.64
7.0.130.0030.01714.63
7.0.120.0030.01714.61
7.0.110.0070.01014.30
7.0.100.1600.01014.52
7.0.90.0430.00714.36
7.0.80.1500.01314.36
7.0.70.1630.01014.29
7.0.60.0070.01314.32
7.0.50.0070.01014.27
7.0.40.0070.01014.59
7.0.30.0000.01314.76
7.0.20.0070.01314.64
7.0.10.0100.00314.53
7.0.00.0070.01014.43

preferences:
34.21 ms | 401 KiB | 5 Q