3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function doAbd(?int $abc = null) {} } class Bar extends foo { public function doAbd(int $abc = null) {} } $foo = new Foo(); $foo->doAbd(); $bar = new Bar(); $bar->doAbd(); echo "No LSP errors.";

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.5.20.0080.01120.17
8.5.10.0100.01016.82
8.5.00.0120.01219.73
8.4.170.0170.00520.54
8.4.160.0120.01020.70
8.4.150.0030.00014.05
8.4.140.0120.00917.84
8.4.130.0130.00818.89
8.4.120.0080.01124.08
8.4.110.0120.00822.21
8.4.100.0130.00718.61
8.4.90.0130.00420.59
8.4.80.0060.00418.69
8.4.70.0030.00518.91
8.4.60.0110.00918.89
8.4.50.0090.01120.24
8.4.40.0030.01317.72
8.4.30.0140.00318.95
8.4.20.0130.00717.61
8.4.10.0230.00417.72
8.3.290.0140.00620.79
8.3.280.0170.00618.20
8.3.270.0110.00816.46
8.3.260.0050.00416.66
8.3.250.0100.00918.94
8.3.240.0040.00417.01
8.3.230.0090.00916.48
8.3.220.0110.00718.72
8.3.210.0050.00616.46
8.3.200.0040.00516.69
8.3.190.0110.00717.22
8.3.180.0100.00818.79
8.3.170.0070.01117.23
8.3.160.0110.00718.28
8.3.150.0180.00016.54
8.3.140.0150.00518.19
8.3.130.0150.00316.46
8.3.120.0150.00416.57
8.3.110.0200.00016.58
8.3.100.0150.00616.25
8.3.90.0210.00016.27
8.3.80.0120.00816.29
8.3.70.0170.00616.33
8.3.60.0180.00416.79
8.3.50.0170.00316.22
8.3.40.0180.00317.34
8.3.30.0060.00917.35
8.3.20.0140.00517.28
8.3.10.0170.00017.16
8.3.00.0030.00717.38
8.2.300.0120.00920.26
8.2.290.0040.01320.66
8.2.280.0130.00620.43
8.2.270.0120.00416.64
8.2.260.0120.00616.24
8.2.250.0130.00416.61
8.2.240.0140.00416.28
8.2.230.0070.01116.46
8.2.220.0160.00316.54
8.2.210.0150.00316.34
8.2.200.0160.00416.65
8.2.190.0190.00016.54
8.2.180.0150.00416.37
8.2.170.0210.00317.67
8.2.160.0160.00317.32
8.2.150.0180.00017.52
8.2.140.0120.00617.46
8.2.130.0150.00517.39
8.2.120.0160.00417.34
8.2.110.0210.00017.23
8.2.100.0190.00417.65
8.2.90.0300.00717.63
8.2.80.0270.01017.39
8.2.70.0280.01017.34
8.2.60.0380.00017.48
8.2.50.0340.00717.59
8.2.40.0190.01217.34
8.2.30.0230.00017.21
8.2.20.0260.00317.13
8.2.10.0210.00017.30
8.2.00.0250.00717.37
8.1.340.0130.00920.10
8.1.320.0050.00316.28

preferences:
38.53 ms | 403 KiB | 5 Q