3v4l.org

run code in 300+ PHP versions simultaneously
<?php function mylog(string $msg, ...$args) { echo sprintf($msg, $args); } mylog('test %s', 'abc');

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.0040.01518.55
8.3.50.0110.00416.47
8.3.40.0160.00318.92
8.3.30.0110.00418.63
8.3.20.0050.00221.83
8.3.10.0000.00821.87
8.3.00.0080.00017.80
8.2.180.0090.00918.38
8.2.170.0150.00022.96
8.2.160.0110.00721.07
8.2.150.0070.00024.18
8.2.140.0000.00724.66
8.2.130.0000.00722.25
8.2.120.0000.00826.35
8.2.110.0070.00419.20
8.2.100.0080.00417.69
8.2.90.0040.00418.95
8.2.80.0090.00017.97
8.2.70.0000.00817.36
8.2.60.0060.00317.80
8.2.50.0000.00719.27
8.2.40.0040.00420.26
8.2.30.0040.00419.09
8.2.20.0040.00417.96
8.2.10.0040.00417.80
8.2.00.0030.00317.79
8.1.280.0110.00425.92
8.1.270.0080.00021.97
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00619.10
8.1.230.0080.00319.10
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00617.13
8.1.190.0050.00317.23
8.1.180.0000.00718.10
8.1.170.0000.00918.51
8.1.160.0040.00418.77
8.1.150.0050.00220.06
8.1.140.0040.00419.45
8.1.130.0000.00718.77
8.1.120.0000.00717.23
8.1.110.0000.00717.21
8.1.100.0040.00417.32
8.1.90.0000.00717.38
8.1.80.0000.00717.34
8.1.70.0000.00717.29
8.1.60.0000.00817.52
8.1.50.0040.00417.46
8.1.40.0080.00017.34
8.1.30.0030.00617.47
8.1.20.0040.00417.55
8.1.10.0000.00817.40
8.1.00.0000.00717.46
8.0.300.0070.00020.13
8.0.290.0040.00416.88
8.0.280.0030.00318.36
8.0.270.0030.00317.23
8.0.260.0030.00318.44
8.0.250.0000.00716.93
8.0.240.0050.00516.88
8.0.230.0040.00416.94
8.0.220.0070.00016.71
8.0.210.0040.00416.87
8.0.200.0000.00616.98
8.0.190.0000.00816.89
8.0.180.0040.00416.88
8.0.170.0000.00716.96
8.0.160.0000.00716.84
8.0.150.0040.00416.81
8.0.140.0040.00416.73
8.0.130.0030.00313.36
8.0.120.0030.00516.85
8.0.110.0030.00516.90
8.0.100.0040.00416.70
8.0.90.0000.00716.84
8.0.80.0090.00616.93
8.0.70.0040.00416.77
8.0.60.0050.00316.92
8.0.50.0000.00716.83
8.0.30.0070.00917.15
8.0.20.0110.00817.40
8.0.10.0000.00716.81
8.0.00.0090.01216.69
7.4.330.0000.00515.55
7.4.320.0070.00016.54
7.4.300.0060.00016.57
7.4.290.0000.00716.39
7.4.280.0000.00816.60
7.4.270.0030.00316.59
7.4.260.0000.00513.25
7.4.250.0080.00016.46
7.4.240.0020.00516.62
7.4.230.0000.00816.62
7.4.220.0170.00316.54
7.4.210.0120.00616.42
7.4.200.0030.00316.38
7.4.160.0110.00516.47
7.4.150.0090.01117.40
7.4.140.0080.01217.86
7.4.130.0180.00616.55
7.4.120.0090.01016.50
7.4.110.0140.01016.46
7.4.100.0040.01916.41
7.4.90.0170.00316.46
7.4.80.0120.00619.39
7.4.70.0040.01216.47
7.4.60.0090.01316.50
7.4.50.0090.00616.53
7.4.40.0120.01216.59
7.4.30.0080.00816.29
7.4.00.0030.01314.82
7.3.330.0050.00013.13
7.3.320.0050.00013.11
7.3.310.0030.00316.32
7.3.300.0060.00016.16
7.3.290.0050.01016.24
7.3.280.0070.00816.27
7.3.270.0000.01917.40
7.3.260.0060.01016.35
7.3.250.0120.00916.28
7.3.240.0100.00916.48
7.3.230.0100.00716.41
7.3.210.0080.00816.41
7.3.200.0140.01116.60
7.3.190.0070.01016.37
7.3.180.0130.00316.35
7.3.170.0090.00916.43
7.3.160.0150.00616.47
7.2.330.0150.00316.65
7.2.320.0060.01316.45
7.2.310.0060.01016.26
7.2.300.0130.00316.55
7.2.290.0030.01516.33
7.2.60.0150.00016.98
7.2.50.0000.00916.69
7.2.00.0040.01219.07
7.1.200.0040.00815.46
7.1.70.0000.00717.32
7.1.60.0630.01733.13
7.1.50.0700.01033.08
7.1.40.0270.01732.52
7.1.30.0830.01732.66
7.1.20.0770.02032.72
7.1.10.0130.01014.74
7.1.00.0500.01014.69
7.0.200.1270.01014.86
7.0.190.0370.01014.75
7.0.180.0800.01314.29
7.0.170.0730.02014.36
7.0.160.0700.00714.36
7.0.150.0700.01314.17
7.0.140.0770.01714.39
7.0.130.1030.01314.60
7.0.120.0670.01714.61
7.0.110.0700.01714.35
7.0.100.0100.00714.37
7.0.90.0800.01014.35
7.0.80.0770.01014.46
7.0.70.0070.01314.46
7.0.60.0130.01014.41
7.0.50.0600.01314.39
7.0.40.1000.01014.64
7.0.30.0770.01314.65
7.0.20.0200.01014.40
7.0.10.0200.00714.42
7.0.00.0030.02014.30

preferences:
33.76 ms | 401 KiB | 5 Q