3v4l.org

run code in 300+ PHP versions simultaneously
<?php function bar($input) { print_r(func_get_args()); } function foo($input) { $args = func_get_args(); array_shift($args); bar($input, $args); } foo('Hallo %s %d', 'Foo', 42);

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.0110.01118.18
8.3.50.0020.01721.94
8.3.40.0070.00718.58
8.3.30.0090.00618.34
8.3.20.0040.00420.04
8.3.10.0030.00620.39
8.3.00.0040.00420.43
8.2.180.0070.00716.38
8.2.170.0090.00622.96
8.2.160.0080.00620.25
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00421.18
8.2.110.0030.00719.39
8.2.100.0030.00917.93
8.2.90.0050.00319.04
8.2.80.0000.00817.97
8.2.70.0030.00617.50
8.2.60.0070.00018.03
8.2.50.0040.00418.09
8.2.40.0070.00020.50
8.2.30.0030.00521.10
8.2.20.0000.00817.73
8.2.10.0020.00517.96
8.2.00.0030.00617.95
8.1.280.0060.00925.92
8.1.270.0080.00023.88
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.62
8.1.230.0080.00317.45
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.34
8.1.190.0090.00017.23
8.1.180.0040.00418.10
8.1.170.0110.00018.64
8.1.160.0040.00420.93
8.1.150.0040.00418.93
8.1.140.0000.00719.57
8.1.130.0000.00717.59
8.1.120.0000.00717.50
8.1.110.0000.00717.46
8.1.100.0070.00017.35
8.1.90.0070.00317.46
8.1.80.0020.00517.41
8.1.70.0000.00717.37
8.1.60.0050.00317.46
8.1.50.0040.00417.54
8.1.40.0000.00817.42
8.1.30.0030.00517.65
8.1.20.0030.00517.60
8.1.10.0000.00717.53
8.1.00.0060.00317.41
8.0.300.0000.00818.77
8.0.290.0000.00716.63
8.0.280.0050.00318.34
8.0.270.0030.00317.15
8.0.260.0000.00617.24
8.0.250.0000.00716.93
8.0.240.0000.00716.86
8.0.230.0030.00316.96
8.0.220.0070.00016.93
8.0.210.0000.00716.90
8.0.200.0000.00617.00
8.0.190.0000.00717.00
8.0.180.0040.00416.82
8.0.170.0060.00316.85
8.0.160.0050.00216.95
8.0.150.0050.00216.71
8.0.140.0050.00216.68
8.0.130.0000.00613.27
8.0.120.0060.00316.80
8.0.110.0040.00416.77
8.0.100.0000.00716.68
8.0.90.0000.00716.76
8.0.80.0060.00916.84
8.0.70.0040.00416.77
8.0.60.0040.00416.95
8.0.50.0020.00516.83
8.0.30.0120.00716.96
8.0.20.0130.00517.40
8.0.10.0040.00416.96
8.0.00.0110.00716.73
7.4.330.0050.00016.71
7.4.320.0000.00716.50
7.4.300.0030.00316.64
7.4.290.0040.00416.58
7.4.280.0070.00316.35
7.4.270.0000.00816.62
7.4.260.0030.00316.42
7.4.250.0040.00416.53
7.4.240.0000.00716.52
7.4.230.0040.00416.68
7.4.220.0080.01516.55
7.4.210.0080.00616.53
7.4.200.0030.00316.62
7.4.160.0030.01216.52
7.4.150.0110.00817.40
7.4.140.0100.00817.86
7.4.130.0070.01116.53
7.4.120.0100.00716.45
7.4.110.0120.00816.59
7.4.100.0040.01416.47
7.4.90.0120.00616.44
7.4.80.0030.01319.39
7.4.70.0120.00616.32
7.4.60.0060.00916.56
7.4.50.0110.00716.41
7.4.40.0130.00316.60
7.4.30.0060.00916.44
7.4.00.0030.01114.84
7.3.330.0000.00513.11
7.3.320.0030.00313.11
7.3.310.0070.00016.25
7.3.300.0000.00716.24
7.3.290.0080.00816.24
7.3.280.0120.00716.23
7.3.270.0140.00317.40
7.3.260.0100.00716.47
7.3.250.0120.00616.32
7.3.240.0090.01016.44
7.3.230.0090.00916.39
7.3.210.0190.00016.39
7.3.200.0100.00719.39
7.3.190.0090.00916.26
7.3.180.0110.00716.58
7.3.170.0080.00816.61
7.3.160.0040.01116.32
7.3.120.0060.01314.75
7.3.110.0070.01114.61
7.3.100.0000.01014.85
7.3.90.0030.00614.77
7.3.80.0060.00314.68
7.3.70.0060.00914.54
7.3.60.0030.00614.73
7.3.50.0030.00914.77
7.3.40.0060.00614.80
7.3.30.0070.00714.62
7.3.20.0060.00616.78
7.3.10.0030.01016.55
7.3.00.0040.00816.58
7.2.330.0000.01816.68
7.2.320.0090.01316.46
7.2.310.0090.01216.67
7.2.300.0090.01216.48
7.2.290.0060.01016.58
7.2.250.0030.01514.59
7.2.240.0100.00614.76
7.2.230.0030.01514.99
7.2.220.0060.00614.71
7.2.210.0030.00915.13
7.2.200.0040.01114.52
7.2.190.0090.00614.94
7.2.180.0070.00714.92
7.2.170.0070.00314.82
7.2.80.0110.00716.47
7.2.60.0070.00716.74
7.2.00.0030.00919.40
7.1.330.0080.00615.66
7.1.320.0040.00415.88
7.1.310.0040.00815.67
7.1.300.0060.01015.68
7.1.290.0030.01115.86
7.1.280.0060.00915.55
7.1.270.0000.01515.85
7.1.260.0070.00415.79
7.1.200.0040.00815.72
7.1.100.0030.01018.38
7.1.70.0040.00816.86
7.1.60.0130.01019.19
7.1.00.0070.07322.45
7.0.200.0040.00416.66
7.0.60.0300.07719.91
7.0.50.0070.06017.89
7.0.40.0000.05020.40
7.0.30.0170.05320.23
7.0.20.0270.07320.10
7.0.10.0070.08020.25
7.0.00.0100.06020.24
5.6.280.0130.06321.03
5.6.210.0070.08020.77
5.6.200.0170.06718.20
5.6.190.0070.07020.48
5.6.180.0030.06320.50
5.6.170.0270.07720.52
5.6.160.0100.08320.48
5.6.150.0130.07318.22
5.6.140.0130.06318.14
5.6.130.0030.07018.11
5.6.120.0170.07721.00
5.6.110.0030.04320.96
5.6.100.0130.06321.14
5.6.90.0100.08020.99
5.6.80.0130.07020.54
5.5.350.4470.04020.43
5.5.340.0130.07317.95
5.5.330.0100.04720.27
5.5.320.0270.08320.36
5.5.310.0170.05320.32
5.5.300.0030.05718.08
5.5.290.0030.07717.97
5.5.280.0100.03720.88
5.5.270.0000.04320.86
5.5.260.0070.07320.94
5.5.250.0070.08720.61
5.5.240.0200.07320.13

preferences:
56.02 ms | 401 KiB | 5 Q