3v4l.org

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

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.0070.01418.18
8.3.50.0140.00316.63
8.3.40.0100.00718.57
8.3.30.0150.00018.59
8.3.20.0030.00621.86
8.3.10.0050.00321.65
8.3.00.0040.00417.80
8.2.180.0100.00718.16
8.2.170.0090.00622.96
8.2.160.0040.01121.12
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00020.36
8.2.120.0000.00726.35
8.2.110.0050.00519.31
8.2.100.0080.00417.66
8.2.90.0030.00519.17
8.2.80.0090.00317.97
8.2.70.0000.00817.38
8.2.60.0040.00417.80
8.2.50.0000.00818.10
8.2.40.0090.00022.20
8.2.30.0040.00419.01
8.2.20.0070.00018.04
8.2.10.0000.00717.85
8.2.00.0040.00417.97
8.1.280.0060.00925.92
8.1.270.0080.00024.02
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00723.91
8.1.230.0030.00717.70
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0070.00317.23
8.1.190.0050.00317.41
8.1.180.0020.00518.10
8.1.170.0090.00018.52
8.1.160.0070.00018.80
8.1.150.0000.00720.08
8.1.140.0000.00719.44
8.1.130.0070.00018.75
8.1.120.0000.00817.33
8.1.110.0050.00317.26
8.1.100.0080.00017.38
8.1.90.0000.00717.21
8.1.80.0000.00817.23
8.1.70.0070.00017.37
8.1.60.0060.00317.34
8.1.50.0060.00317.44
8.1.40.0080.00017.37
8.1.30.0000.00717.46
8.1.20.0080.00017.59
8.1.10.0040.00417.52
8.1.00.0040.00417.50
8.0.300.0000.00818.77
8.0.290.0050.00216.74
8.0.280.0000.00718.39
8.0.270.0030.00317.24
8.0.260.0030.00316.86
8.0.250.0030.00316.97
8.0.240.0030.00716.97
8.0.230.0040.00416.84
8.0.220.0000.00716.71
8.0.210.0000.00716.83
8.0.200.0000.00616.89
8.0.190.0080.00016.81
8.0.180.0000.00716.84
8.0.170.0000.00716.88
8.0.160.0000.00716.88
8.0.150.0030.00316.77
8.0.140.0040.00416.77
8.0.130.0000.00613.24
8.0.120.0000.00816.74
8.0.110.0040.00416.77
8.0.100.0040.00416.77
8.0.90.0040.00416.70
8.0.80.0100.01316.70
8.0.70.0040.00416.82
8.0.60.0050.00216.86
8.0.50.0000.00816.85
8.0.30.0080.01117.05
8.0.20.0110.00917.40
8.0.10.0000.00816.71
8.0.00.0070.01116.46
7.4.330.0060.00015.55
7.4.320.0060.00016.43
7.4.300.0000.00616.34
7.4.290.0040.00416.41
7.4.280.0000.00716.47
7.4.270.0030.00316.51
7.4.260.0000.00513.16
7.4.250.0030.00516.31
7.4.240.0000.00716.52
7.4.230.0070.00016.40
7.4.220.0000.01616.52
7.4.210.0040.01116.61
7.4.200.0000.00716.67
7.4.160.0140.00516.43
7.4.150.0140.01117.40
7.4.140.0110.00917.86
7.4.130.0130.01316.41
7.4.120.0100.00816.40
7.4.110.0100.01616.39
7.4.100.0120.00916.38
7.4.90.0070.01016.54
7.4.80.0040.01219.39
7.4.70.0120.00316.35
7.4.60.0090.00916.38
7.4.50.0070.01116.44
7.4.40.0110.00416.33
7.4.30.0120.00416.32
7.4.00.0170.00014.93
7.3.330.0000.00413.02
7.3.320.0000.00613.16
7.3.310.0000.00716.31
7.3.300.0070.00016.18
7.3.290.0090.00516.24
7.3.280.0070.00916.20
7.3.270.0170.00017.40
7.3.260.0100.00716.33
7.3.250.0100.01116.35
7.3.240.0120.00816.35
7.3.230.0100.00716.35
7.3.210.0140.00316.34
7.3.200.0110.01016.23
7.3.190.0040.01316.61
7.3.180.0000.01616.40
7.3.170.0070.01516.33
7.3.160.0130.00316.30
7.2.330.0030.01316.59
7.2.320.0100.00916.27
7.2.310.0000.01616.49
7.2.300.0100.00716.54
7.2.290.0080.00916.31
7.2.60.0060.00916.48
7.2.50.0100.00416.80
7.2.00.0000.01219.17
7.1.200.0090.00615.83
7.1.70.0120.00617.29
7.1.60.0530.02033.31
7.1.50.0470.01732.98
7.1.40.0570.01332.32
7.1.30.0470.01332.63
7.1.20.0530.01332.69
7.1.10.0400.00714.60
7.1.00.0370.01014.73
7.0.200.0330.01315.01
7.0.190.0630.01014.81
7.0.180.0400.01314.43
7.0.170.0370.01314.30
7.0.160.0300.01014.63
7.0.150.0630.01314.34
7.0.140.1300.00714.43
7.0.130.0370.01014.71
7.0.120.0430.00314.81
7.0.110.0430.00314.24
7.0.100.0500.01014.38
7.0.90.0400.00714.51
7.0.80.0470.00714.61
7.0.70.0600.01714.67
7.0.60.0600.01314.16
7.0.50.0470.00314.49
7.0.40.0430.00714.57
7.0.30.0400.01314.50
7.0.20.0370.01014.47
7.0.10.0330.01314.44
7.0.00.0400.01014.59

preferences:
46.27 ms | 400 KiB | 5 Q