3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); class Foo { public function __call(): void { $args = func_get_args(); echo gettype($args[0]), ', ', gettype($args[1]); } } (new Foo)->bar('x');

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.2.70.0200.00079.33
8.2.60.0190.00079.33
8.2.50.0150.00279.33
8.2.40.0150.00479.33
8.2.30.0190.00279.33
8.2.20.0130.00479.33
8.2.10.0120.00479.33
8.2.00.0130.00379.33
8.1.200.0160.00079.33
8.1.190.0170.00079.33
8.1.180.0120.00679.33
8.1.170.0090.00979.33
8.1.160.0140.00679.33
8.1.150.0170.00079.33
8.1.140.0090.00679.33
8.1.130.0130.00379.33
8.1.120.0120.00579.33
8.1.110.0110.00679.33
8.1.100.0140.00379.33
8.1.90.0170.00079.33
8.1.80.0120.00579.33
8.1.70.0120.00379.33
8.1.60.0180.00079.33
8.1.50.0110.00679.33
8.1.40.0090.00979.33
8.1.30.0100.00879.33
8.1.20.0140.00679.33
8.1.10.0130.00679.33
8.1.00.0150.00379.33
8.0.290.0120.00479.33
8.0.280.0120.00479.33
8.0.270.0120.00479.33
8.0.260.0120.00579.33
8.0.250.0160.00079.33
8.0.240.0110.00879.33
8.0.230.0120.00679.33
8.0.220.0150.00579.33
8.0.210.0130.00379.33
8.0.200.0150.00279.33
8.0.190.0090.00679.33
8.0.180.0080.00879.33
8.0.170.0080.00879.33
8.0.160.0170.00079.33
8.0.150.0200.00079.33
8.0.140.0160.00079.33
8.0.130.0110.00679.33
8.0.120.0090.00679.33
8.0.110.0130.00379.33
8.0.100.0050.01079.33
8.0.90.0150.00079.33
8.0.80.0080.00879.33
8.0.70.0130.00379.33
8.0.60.0160.00079.33
8.0.50.0110.00479.33
8.0.30.0110.00579.33
8.0.20.0120.00479.33
8.0.10.0120.00479.33
8.0.00.0090.00679.33
7.4.330.0110.00379.33
7.4.320.0080.00879.33
7.4.300.0050.01179.33
7.4.290.0090.00679.33
7.4.280.0150.00479.33
7.4.270.0120.00579.33
7.4.260.0100.00779.33
7.4.250.0120.00679.33
7.4.240.0160.00079.33
7.4.230.0180.00079.33
7.4.220.0150.00379.33
7.4.210.0190.00079.33
7.4.200.0120.00379.33
7.4.190.0100.00579.33
7.4.180.0160.00079.33
7.4.160.0150.00079.33
7.4.150.0110.00579.33
7.4.140.0120.00479.33
7.4.130.0100.00579.33
7.4.120.0060.00979.33
7.4.110.0110.00479.33
7.4.100.0130.00647.76
7.4.90.0100.00747.85
7.4.80.0070.01247.90
7.4.70.0150.00547.78
7.4.60.0130.00647.77
7.4.50.0070.00947.90
7.4.40.0100.00947.84
7.4.30.0120.00547.78
7.4.20.0090.00947.88
7.4.10.0140.00247.84
7.4.00.0100.00947.92
7.3.330.0100.00579.33
7.3.320.0120.00479.33
7.3.310.0090.00679.33
7.3.300.0110.00479.33
7.3.290.0150.00079.33
7.3.280.0150.00079.33
7.3.270.0120.00379.33
7.3.260.0090.00679.33
7.3.250.0160.00079.33
7.3.240.0110.00479.33
7.3.230.0080.00879.33
7.3.220.0120.00747.76
7.3.210.0070.01147.75
7.3.200.0100.00947.83
7.3.190.0130.00547.76
7.3.180.0140.00647.77
7.3.170.0110.01047.77
7.3.160.0100.00747.80
7.3.150.0140.00447.88
7.3.140.0090.00947.81
7.3.130.0080.01047.88
7.3.120.0090.00747.78
7.3.110.0100.00747.76
7.3.100.0110.00547.87
7.3.90.0110.00647.89
7.3.80.0100.00747.77
7.3.70.0080.00947.82
7.3.60.0090.00947.80
7.3.50.0110.00747.71
7.3.40.0140.00347.75
7.3.30.0090.00747.76
7.3.20.0120.00747.71
7.3.10.0080.00947.82
7.3.00.0140.00447.82
7.2.340.0150.00079.33
7.2.330.0130.00547.88
7.2.320.0150.00347.80
7.2.310.0140.00747.89
7.2.300.0090.00947.92
7.2.290.0100.00647.95
7.2.280.0100.00847.73
7.2.270.0090.01047.90
7.2.260.0100.00747.78
7.2.250.0130.00447.80
7.2.240.0120.00547.88
7.2.230.0150.00147.81
7.2.220.0080.01147.80
7.2.210.0090.00747.89
7.2.200.0080.00947.79
7.2.190.0130.00447.83
7.2.180.0130.00547.93
7.2.170.0070.00947.81
7.2.160.0080.00947.91
7.2.150.0120.00847.88
7.2.140.0120.01147.90
7.2.130.0120.00547.88
7.2.120.0080.00947.85
7.2.110.0110.00647.94
7.2.100.0080.00947.90
7.2.90.0150.00547.84
7.2.80.0320.00547.90
7.2.70.0090.00847.86
7.2.60.0130.00447.83
7.2.50.0080.00847.86
7.2.40.0100.00747.87
7.2.30.0130.00347.84
7.2.20.0130.00347.87
7.2.10.0120.00647.90
7.2.00.0120.00547.87

preferences:
150.45 ms | 1386 KiB | 7 Q