3v4l.org

run code in 300+ PHP versions simultaneously
<?php bar(['bar' => 'fight']); function bar ($kwargs = ['a1' => null, 'bar' => null, 'foo' => null]) { extract($kwargs); var_export(get_defined_vars()); echo "\n---\n"; }

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.4.130.0050.01017.68
8.4.120.0120.00824.15
8.4.110.0100.01018.59
8.4.100.0120.00817.33
8.4.90.0120.00817.77
8.4.80.0070.00317.74
8.4.70.0040.00519.24
8.4.60.0120.00717.80
8.4.50.0120.00819.46
8.4.40.0050.00317.66
8.4.30.0100.01120.60
8.4.20.0130.00717.79
8.4.10.0110.00821.87
8.3.260.0030.00516.30
8.3.250.0110.00820.69
8.3.240.0040.00416.51
8.3.230.0120.00816.50
8.3.220.0140.00316.71
8.3.210.0050.00316.52
8.3.200.0130.00616.33
8.3.190.0080.00716.63
8.3.180.0120.00816.60
8.3.170.0110.00416.91
8.3.160.0120.00618.35
8.3.150.0130.00618.77
8.3.140.0080.00016.68
8.3.130.0080.00018.40
8.3.120.0060.00920.66
8.3.110.0060.00318.30
8.3.100.0080.00016.74
8.3.90.0040.00418.39
8.3.80.0090.00419.36
8.3.70.0120.00318.07
8.3.60.0140.00016.63
8.3.50.0110.00318.43
8.3.40.0080.01221.86
8.3.30.0110.00418.89
8.3.20.0070.00024.18
8.3.10.0000.00824.66
8.3.00.0050.00326.16
8.2.290.0130.00620.40
8.2.280.0100.00822.33
8.2.270.0140.00417.00
8.2.260.0040.00418.98
8.2.250.0040.00716.48
8.2.240.0050.00217.04
8.2.230.0100.00622.58
8.2.220.0030.00616.23
8.2.210.0030.00526.77
8.2.200.0060.00318.29
8.2.190.0070.01416.63
8.2.180.0140.00316.50
8.2.170.0150.00018.96
8.2.160.0070.00722.96
8.2.150.0030.00525.66
8.2.140.0050.00224.66
8.2.130.0060.00326.16
8.2.120.0070.00022.08
8.2.110.0070.00322.29
8.2.100.0060.00617.84
8.2.90.0060.01017.63
8.2.80.0130.00317.50
8.2.70.0150.00417.50
8.2.60.0260.00017.34
8.2.50.0210.00617.49
8.2.40.0190.00417.75
8.2.30.0200.00416.88
8.2.20.0120.01017.13
8.2.10.0220.00017.13
8.2.00.0200.00317.12
8.1.330.0110.00716.51
8.1.320.0080.01116.13
8.1.310.0050.00316.52
8.1.300.0130.00317.92
8.1.290.0110.00018.88
8.1.280.0040.01125.92
8.1.270.0070.00024.66
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0060.00322.53
8.1.230.0070.00420.95
8.1.220.0250.00017.13
8.1.210.0200.00516.88
8.1.200.0230.00016.98
8.1.190.0180.00616.98
8.1.180.0210.00316.80
8.1.170.0160.00916.98
8.1.160.0180.00416.87
8.1.150.0170.00517.00
8.1.140.0190.00817.09
8.1.130.0120.01117.00
8.1.120.0200.00316.85
8.1.110.0220.00017.13
8.1.100.0140.00816.80
8.1.90.0180.00517.13
8.1.80.0170.00717.25
8.1.70.0150.00816.80
8.1.60.0210.00716.99
8.1.50.0210.00617.22
8.1.40.0230.00017.13
8.1.30.0130.00917.55
8.1.20.0180.00517.13
8.1.10.0140.00817.22
8.1.00.0190.00416.88
8.0.300.0220.00016.80
8.0.290.0140.00616.80
8.0.280.0130.00916.80
8.0.270.0160.00916.80
8.0.260.0150.00616.80
8.0.250.0190.00516.80
8.0.240.0220.00316.80
8.0.230.0190.00616.80
8.0.220.0200.00316.80
8.0.210.0220.00016.80
8.0.200.0190.00416.80
8.0.190.0220.00316.80
8.0.180.0230.00316.80
8.0.170.0150.01116.80
8.0.160.0260.00016.80
8.0.150.0170.00616.80
8.0.140.0200.00016.80
8.0.130.0210.00016.80
8.0.120.0190.00716.80
8.0.110.0180.00316.85
8.0.100.0140.00916.80
8.0.90.0150.00916.80
8.0.80.0170.00718.02
8.0.70.0160.00716.80
8.0.60.0180.00716.80
8.0.50.0180.00416.80
8.0.30.0120.01116.80
8.0.20.0200.00316.80
8.0.10.0140.00916.80

preferences:
31.84 ms | 403 KiB | 5 Q