3v4l.org

run code in 300+ PHP versions simultaneously
<?php function Test(...$args){ printf(...$args); } $namesT = ["Timmy","Teddy","Theo","Tad"]; $namesB = ["Bobby","Bill","Brad"]; Test("T Names: %s %s %s %s\n",...$namesT); Test("B Names: %s %s %s\n",...$namesB);

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.0110.00918.59
8.4.120.0140.00724.14
8.4.110.0120.00918.71
8.4.100.0130.00718.82
8.4.90.0110.00918.75
8.4.80.0140.00618.50
8.4.70.0110.00817.68
8.4.60.0060.00418.77
8.4.50.0110.00919.43
8.4.40.0100.00017.50
8.4.30.0160.00317.67
8.4.20.0030.00917.39
8.4.10.0060.00317.60
8.3.260.0130.00616.42
8.3.250.0100.00918.80
8.3.240.0140.00517.08
8.3.230.0100.01016.35
8.3.220.0120.00618.73
8.3.210.0060.00916.61
8.3.200.0080.01016.41
8.3.190.0100.00918.79
8.3.180.0110.00916.48
8.3.170.0190.00017.07
8.3.160.0030.00516.72
8.3.150.0100.01020.58
8.3.140.0060.00916.61
8.3.130.0000.00918.40
8.3.120.0030.00720.54
8.3.110.0030.00620.94
8.3.100.0000.00924.06
8.3.90.0110.00726.77
8.3.80.0090.00017.97
8.3.70.0070.01016.50
8.3.60.0100.01018.33
8.3.50.0080.00518.33
8.3.40.0070.01118.52
8.3.30.0140.00718.59
8.3.20.0040.00421.79
8.3.10.0040.00421.77
8.3.00.0070.00021.60
8.2.290.0040.00519.16
8.2.280.0150.00618.26
8.2.270.0070.01118.61
8.2.260.0070.00720.14
8.2.250.0000.00916.43
8.2.240.0030.00617.10
8.2.230.0050.00322.58
8.2.220.0050.00537.54
8.2.210.0090.00626.77
8.2.200.0060.00318.30
8.2.190.0110.00416.58
8.2.180.0060.00918.29
8.2.170.0120.00322.96
8.2.160.0100.00322.11
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00719.45
8.2.120.0080.00026.35
8.2.110.0060.00322.16
8.2.100.0120.00017.78
8.2.90.0060.00317.63
8.2.80.0000.00818.66
8.2.70.0080.00017.50
8.2.60.0080.00017.91
8.2.50.0050.00318.07
8.2.40.0050.00218.10
8.2.30.0040.00417.86
8.2.20.0040.00417.99
8.2.10.0040.00418.04
8.2.00.0070.00318.09
8.1.330.0090.00821.91
8.1.320.0100.00918.27
8.1.310.0090.00916.73
8.1.300.0030.00615.93
8.1.290.0060.00330.84
8.1.280.0070.00725.92
8.1.270.0060.00322.02
8.1.260.0000.00826.35
8.1.250.0050.00228.09
8.1.240.0060.00319.06
8.1.230.0070.00417.70
8.1.220.0080.00017.76
8.1.210.0050.00318.77
8.1.200.0030.00617.23
8.1.190.0060.00317.23
8.1.180.0050.00218.10
8.1.170.0030.00618.59
8.1.160.0040.00418.88
8.1.150.0000.00718.82
8.1.140.0030.00419.02
8.1.130.0040.00417.37
8.1.120.0050.00317.39
8.1.110.0070.00017.40
8.1.100.0060.00317.36
8.1.90.0040.00417.36
8.1.80.0030.00617.27
8.1.70.0040.00417.29
8.1.60.0080.00017.54
8.1.50.0030.00617.52
8.1.40.0040.00417.52
8.1.30.0030.00517.50
8.1.20.0050.00217.62
8.1.10.0040.00417.55
8.1.00.0000.00717.45
8.0.300.0000.00918.77
8.0.290.0040.00416.63
8.0.280.0000.00718.38
8.0.270.0000.00717.19
8.0.260.0030.00316.62
8.0.250.0000.00716.92
8.0.240.0040.00416.92
8.0.230.0070.00016.83
8.0.220.0000.00716.77
8.0.210.0080.00016.85
8.0.200.0060.00316.94
8.0.190.0040.00416.85
8.0.180.0000.00816.86
8.0.170.0000.00816.79
8.0.160.0030.00316.89
8.0.150.0030.00316.77
8.0.140.0030.00316.82
8.0.130.0000.00613.23
8.0.120.0000.00716.76
8.0.110.0000.00816.79
8.0.100.0030.00516.84
8.0.90.0000.00716.69
8.0.80.0090.00616.70
8.0.70.0000.00816.79
8.0.60.0050.00316.75
8.0.50.0070.00016.86
8.0.30.0070.00916.93
8.0.20.0070.01417.40
8.0.10.0050.00216.89
8.0.00.0070.01016.67
7.4.330.0000.00515.55
7.4.320.0000.00716.54
7.4.300.0030.00316.48
7.4.290.0030.00616.48
7.4.280.0000.00716.61
7.4.270.0000.00716.60
7.4.260.0070.00016.43
7.4.250.0030.00316.35
7.4.240.0030.00316.51
7.4.230.0030.00316.43
7.4.220.0000.00816.37
7.4.210.0090.00816.46
7.4.200.0070.00016.54
7.4.160.0080.00716.26
7.4.150.0130.01017.40
7.4.140.0090.01117.86
7.4.130.0060.01216.50
7.4.120.0110.01016.40
7.4.110.0100.00616.38
7.4.100.0120.00616.44
7.4.90.0100.00716.41
7.4.80.0070.01019.39
7.4.70.0090.00916.37
7.4.60.0130.00316.61
7.4.50.0110.00716.13
7.4.40.0180.00016.38
7.4.00.0070.00915.02
7.3.330.0000.00513.09
7.3.320.0030.00313.01
7.3.310.0030.00316.24
7.3.300.0050.00216.17
7.3.290.0050.00216.25
7.3.280.0100.00416.23
7.3.270.0060.01217.40
7.3.260.0120.00616.32
7.3.250.0100.00816.40
7.3.240.0080.00916.33
7.3.230.0050.01116.15
7.3.210.0130.00316.13
7.3.200.0080.00816.17
7.3.190.0030.01316.13
7.3.180.0030.01316.24
7.3.170.0130.01016.59
7.3.160.0060.01016.23
7.3.120.0000.01814.66
7.3.110.0070.01314.63
7.3.100.0090.00614.88
7.3.90.0080.00814.88
7.3.80.0100.00714.77
7.3.70.0060.00614.93
7.3.60.0090.00614.88
7.3.50.0070.00714.76
7.3.40.0000.01714.63
7.3.30.0080.00314.50
7.3.20.0080.00416.61
7.3.10.0030.00916.30
7.3.00.0320.01115.49
7.2.330.0110.00816.48
7.2.320.0130.00316.61
7.2.310.0030.01516.42
7.2.300.0130.00316.61
7.2.290.0070.01016.30
7.2.250.0100.01014.76
7.2.240.0100.01014.71
7.2.230.0030.01215.02
7.2.220.0100.00714.82
7.2.210.0060.01314.80
7.2.200.0130.00314.79
7.2.190.0070.01115.03
7.2.180.0030.01314.91
7.2.170.0030.01414.80
7.2.160.0030.00614.77
7.2.150.0110.00416.96
7.2.140.0030.00616.91
7.2.130.0440.01215.68
7.2.120.0430.00515.59
7.2.110.0320.00915.74
7.2.100.0390.00715.61
7.2.90.0450.00515.79
7.2.80.0290.00815.99
7.2.70.0370.00415.80
7.2.60.0270.00316.10
7.2.50.0350.00815.78
7.2.40.0280.01315.69
7.2.30.0380.00315.59
7.2.20.0480.00515.94
7.2.10.0420.01315.86
7.2.00.0160.01517.04
7.1.330.0150.00315.50
7.1.320.0060.00915.66
7.1.310.0060.01215.88
7.1.300.0000.00815.59
7.1.290.0030.00615.71
7.1.280.0030.00715.59
7.1.270.0000.01015.73
7.1.260.0100.00315.50
7.1.250.0330.00914.81
7.1.240.0460.00214.82
7.1.230.0350.01014.58
7.1.220.0320.01114.75
7.1.210.0460.00714.67
7.1.200.0230.01015.10
7.1.190.0420.00714.74
7.1.180.0400.00614.58
7.1.170.0320.01014.76
7.1.160.0210.01214.74
7.1.150.0500.00514.69
7.1.140.0410.00514.70
7.1.130.0350.00914.56
7.1.120.0370.00815.97
7.1.110.0210.00515.83
7.1.100.0190.00915.81
7.1.90.0120.01415.81
7.1.80.0150.00715.85
7.1.70.0210.00615.52
7.1.60.0190.00921.63
7.1.50.0280.00721.34
7.1.40.0320.00821.17
7.1.30.0250.00921.35
7.1.20.0240.00721.38
7.1.10.0290.00515.41
7.1.00.0180.00715.30
7.0.330.0330.01114.24
7.0.320.0060.00915.31
7.0.310.0030.00715.43
7.0.300.0060.00615.45
7.0.290.0060.00315.17
7.0.280.0060.00615.29
7.0.270.0120.00415.32
7.0.260.0130.00015.36
7.0.250.0130.00015.32
7.0.240.0100.00015.46
7.0.230.0030.01015.41
7.0.220.0030.00615.29
7.0.210.0070.00715.29
7.0.200.0070.00715.46
7.0.190.0030.01415.10
7.0.180.0040.00815.42
7.0.170.0070.00415.22
7.0.160.0090.00015.41
7.0.150.0040.01115.09
7.0.140.0000.00815.46
7.0.130.0000.00815.11
7.0.120.0040.00715.23
7.0.110.0030.01015.38
7.0.100.0040.01115.09
7.0.90.0040.00415.34
7.0.80.0070.00715.20
7.0.70.0070.00315.27
7.0.60.0040.00815.50
7.0.50.0070.00715.45
7.0.40.0000.01313.36
7.0.30.0000.00813.25
7.0.20.0070.00613.47
7.0.10.0030.00613.19
7.0.00.0070.00713.32
5.6.400.0040.01113.87
5.6.390.0000.01514.31
5.6.380.0070.00714.16
5.6.370.0080.00414.07
5.6.360.0080.00814.41
5.6.350.0030.01014.58
5.6.340.0000.01014.02
5.6.330.0030.01714.41
5.6.320.0070.00714.37
5.6.310.0030.01014.35
5.6.300.0090.00614.00
5.6.290.0060.00314.11
5.6.280.0040.00714.35
5.6.270.0030.00714.20
5.6.260.0000.01113.97
5.6.250.0090.00314.20
5.6.240.0000.01414.11
5.6.230.0070.01014.22
5.6.220.0100.00314.23
5.6.210.0040.00714.12
5.6.200.0000.01314.11
5.6.190.0000.01114.03
5.6.180.0040.00414.25
5.6.170.0030.00914.41
5.6.160.0090.00014.22
5.6.150.0100.00314.25
5.6.140.0030.00714.19
5.6.130.0030.00914.27
5.6.120.0080.00314.38
5.6.110.0090.00314.11
5.6.100.0000.01314.22
5.6.90.0060.00614.04
5.6.80.0040.00814.07
5.6.70.0030.00914.08
5.6.60.0000.01313.88
5.6.50.0030.01014.07
5.6.40.0060.00613.84
5.6.30.0070.00714.28
5.6.20.0080.00813.87
5.6.10.0000.00814.27
5.6.00.0080.00413.91

preferences:
31.59 ms | 403 KiB | 5 Q