3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(call_user_func_array("strlen", ["hello"])); var_dump(call_user_func_array("strlen", ["a" => "hello"]));

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.70.0040.01118.55
8.3.60.0140.00718.43
8.3.50.0170.00018.02
8.3.40.0110.00321.95
8.3.30.0110.00418.72
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.180.0040.01125.92
8.2.170.0030.01418.86
8.2.160.0100.00722.96
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0080.00020.84
8.2.110.0030.00622.12
8.2.100.0110.00019.33
8.2.90.0110.00017.84
8.2.80.0050.00319.37
8.2.70.0000.00817.50
8.2.60.0080.00018.04
8.2.50.0040.00418.07
8.2.40.0030.00518.09
8.2.30.0030.00818.31
8.2.20.0030.00318.04
8.2.10.0040.00419.13
8.2.00.0000.00719.04
8.1.280.0120.00625.92
8.1.270.0060.00322.03
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.00922.20
8.1.230.0040.01120.85
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0100.00017.10
8.1.190.0050.00317.11
8.1.180.0040.00418.10
8.1.170.0040.00418.61
8.1.160.0040.00418.75
8.1.150.0000.00718.66
8.1.140.0000.00718.80
8.1.130.0000.00719.92
8.1.120.0070.00017.30
8.1.110.0000.00817.27
8.1.100.0030.00517.21
8.1.90.0000.00717.36
8.1.80.0030.01017.32
8.1.70.0060.00617.24
8.1.60.0080.00717.42
8.1.50.0130.00217.43
8.1.40.0100.00517.36
8.1.30.0080.00517.52
8.1.20.0080.00717.49
8.1.10.0030.00817.43
8.1.00.0110.00417.39
8.0.300.0000.00819.79
8.0.290.0040.00416.58
8.0.280.0040.00718.15
8.0.270.0070.00017.90
8.0.260.0000.00618.50
8.0.250.0000.00716.92
8.0.240.0000.00616.88
8.0.230.0070.00016.95
8.0.220.0050.00316.85
8.0.210.0090.00216.78
8.0.200.0090.00316.86
8.0.190.0080.00416.84
8.0.180.0090.00516.88
8.0.170.0070.00616.86
8.0.160.0080.00516.83
8.0.150.0040.00816.76
8.0.140.0080.00616.76
8.0.130.0070.00515.62
8.0.120.0070.00516.83
8.0.110.0080.00416.78
8.0.100.0080.00516.84
8.0.90.0040.00916.81
8.0.80.0080.00716.80
8.0.70.0060.00716.79
8.0.60.0020.01116.82
8.0.50.0060.00516.84
8.0.30.0120.00716.86
8.0.20.0130.00516.92
8.0.10.0110.00316.95
8.0.00.0160.00416.82
7.4.330.0090.00016.93
7.4.320.0030.00316.53
7.4.300.0040.00916.34
7.4.290.0100.00416.38
7.4.280.0100.00416.42
7.4.270.0060.00416.43
7.4.260.0090.00415.32
7.4.250.0080.00616.43
7.4.240.0080.00516.43
7.4.230.0100.00316.49
7.4.220.0080.00416.49
7.4.210.0080.00716.45
7.4.200.0080.00416.38
7.4.190.0110.00316.46
7.4.180.0070.00516.44
7.4.160.0050.00816.38
7.4.150.0120.00216.45
7.4.140.0080.00616.31
7.4.130.0110.00416.24
7.4.120.0070.00816.27
7.4.110.0090.00616.27
7.4.100.0110.00416.31
7.4.90.0110.00516.26
7.4.80.0120.00216.26
7.4.70.0080.00616.25
7.4.60.0080.00416.21
7.4.50.0070.00616.22
7.4.40.0090.00516.13
7.4.30.0070.00716.33
7.4.20.0100.00616.27
7.4.10.0080.00716.28
7.4.00.0070.01016.21
7.3.330.0100.00316.16
7.3.320.0080.00515.06
7.3.310.0100.00316.07
7.3.300.0090.00316.08
7.3.290.0090.00716.13
7.3.280.0120.00415.97
7.3.270.0100.00616.06
7.3.260.0100.00816.04
7.3.250.0140.00316.15
7.3.240.0120.00416.15
7.3.230.0110.00616.05
7.3.220.0110.00516.04
7.3.210.0100.00716.02
7.3.200.0090.00716.08
7.3.190.0160.00416.01
7.3.180.0120.00415.99
7.3.170.0090.00716.04
7.3.160.0090.00916.08
7.3.150.0100.00716.08
7.3.140.0100.00816.08
7.3.130.0120.00516.05
7.3.120.0120.00516.12
7.3.110.0130.00516.02
7.3.100.0080.00815.98
7.3.90.0120.00416.29
7.3.80.0120.01015.96
7.3.70.0110.00616.16
7.3.60.0110.00616.12
7.3.50.0080.00916.14
7.3.40.0080.00816.26
7.3.30.0120.00516.17
7.3.20.0130.00517.32
7.3.10.0110.00617.40
7.3.00.0090.01017.36

preferences:
72.72 ms | 401 KiB | 5 Q