3v4l.org

run code in 300+ PHP versions simultaneously
<?php function myprelog(string $content, ...$args) { mylog($content, $args); } function mylog(string $msg, ...$args) { echo vsprintf($msg, $args); } mylog('test', '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.30
8.3.50.0070.01016.43
8.3.40.0140.00318.90
8.3.30.0090.00618.59
8.3.20.0040.00421.77
8.3.10.0040.00423.52
8.3.00.0110.00419.56
8.2.180.0140.00018.17
8.2.170.0110.00722.96
8.2.160.0030.01020.96
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00020.52
8.2.120.0080.00026.35
8.2.110.0070.00322.24
8.2.100.0070.00417.72
8.2.90.0040.00419.11
8.2.80.0080.00017.97
8.2.70.0090.00017.50
8.2.60.0040.00417.93
8.2.50.0060.00319.21
8.2.40.0000.00920.19
8.2.30.0040.00419.20
8.2.20.0030.00618.02
8.2.10.0040.00417.83
8.2.00.0080.00017.84
8.1.280.0040.01125.92
8.1.270.0060.00322.09
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0050.00520.74
8.1.230.0040.00719.00
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0070.00317.23
8.1.190.0040.00417.03
8.1.180.0000.00918.10
8.1.170.0040.00418.66
8.1.160.0070.00018.75
8.1.150.0040.00420.09
8.1.140.0080.00019.43
8.1.130.0050.00218.75
8.1.120.0000.00717.34
8.1.110.0000.00717.32
8.1.100.0050.00317.37
8.1.90.0040.00417.38
8.1.80.0040.00417.22
8.1.70.0030.00617.33
8.1.60.0030.00617.39
8.1.50.0000.00817.45
8.1.40.0000.00917.50
8.1.30.0080.00017.48
8.1.20.0000.00717.45
8.1.10.0030.00517.39
8.1.00.0040.00417.40
8.0.300.0040.00420.07
8.0.290.0040.00416.63
8.0.280.0030.00318.34
8.0.270.0030.00317.24
8.0.260.0030.00316.72
8.0.250.0030.00316.93
8.0.240.0100.00016.83
8.0.230.0040.00316.85
8.0.220.0000.00716.84
8.0.210.0000.00816.70
8.0.200.0030.00316.86
8.0.190.0060.00316.79
8.0.180.0040.00416.83
8.0.170.0000.00716.90
8.0.160.0040.00416.90
8.0.150.0030.00316.72
8.0.140.0030.00316.77
8.0.130.0030.00313.21
8.0.120.0070.00016.84
8.0.110.0000.00716.66
8.0.100.0000.00716.80
8.0.90.0040.00416.84
8.0.80.0110.00716.82
8.0.70.0030.00416.69
8.0.60.0000.00716.93
8.0.50.0000.00716.66
8.0.30.0090.01017.04
8.0.20.0150.00817.40
8.0.10.0040.00416.94
8.0.00.0080.00816.41
7.4.330.0000.00515.55
7.4.320.0000.00616.53
7.4.300.0000.00616.58
7.4.290.0000.00716.48
7.4.280.0000.00816.48
7.4.270.0020.00516.41
7.4.260.0030.00313.29
7.4.250.0070.00016.37
7.4.240.0000.00716.52
7.4.230.0070.00016.67
7.4.220.0080.00816.66
7.4.210.0090.00616.44
7.4.200.0000.00816.38
7.4.160.0050.01116.50
7.4.150.0090.00917.40
7.4.140.0090.01017.86
7.4.130.0170.00316.35
7.4.120.0100.00916.45
7.4.110.0100.01016.41
7.4.100.0100.01616.48
7.4.90.0040.01416.57
7.4.80.0130.00519.39
7.4.70.0000.01616.67
7.4.60.0050.01116.39
7.4.50.0030.01316.38
7.4.40.0100.00616.52
7.4.30.0100.00516.46
7.4.00.0030.01014.70
7.3.330.0000.00513.02
7.3.320.0030.00313.24
7.3.310.0000.00716.14
7.3.300.0030.00316.26
7.3.290.0090.00716.23
7.3.280.0070.01116.22
7.3.270.0120.00617.40
7.3.260.0060.01116.22
7.3.250.0120.01016.36
7.3.240.0140.00316.41
7.3.230.0040.01316.20
7.3.210.0100.00616.31
7.3.200.0110.01116.15
7.3.190.0130.00516.36
7.3.180.0120.00916.32
7.3.170.0090.01216.31
7.3.160.0060.01016.36
7.3.10.0040.00716.56
7.3.00.0050.00816.61
7.2.330.0040.01216.48
7.2.320.0080.01116.57
7.2.310.0040.01116.70
7.2.300.0070.01116.59
7.2.290.0100.00716.41
7.2.130.0100.00716.84
7.2.120.0030.01016.71
7.2.110.0070.00716.58
7.2.100.0030.01016.79
7.2.90.0030.00716.92
7.2.80.0100.00316.85
7.2.70.0060.00916.82
7.2.60.0070.00916.77
7.2.50.0020.01116.67
7.2.40.0070.01016.80
7.2.30.0090.00616.95
7.2.20.0060.00916.73
7.2.10.0080.00616.84
7.2.00.0040.00817.92
7.1.250.0060.00915.40
7.1.200.0050.00615.75
7.1.70.0040.00417.29
7.1.60.0730.01333.14
7.1.50.0770.01032.79
7.1.40.0830.01732.46
7.1.30.1830.02032.38
7.1.20.0970.01732.67
7.1.10.0930.01714.74
7.1.00.0800.01314.98
7.0.200.1370.00714.83
7.0.190.0630.00314.89
7.0.180.1000.01014.15
7.0.170.0970.02014.46
7.0.160.1170.01314.18
7.0.150.0570.00714.48
7.0.140.0730.01014.65
7.0.130.0530.01014.60
7.0.120.0530.01014.63
7.0.110.0570.01314.37
7.0.100.0800.01714.21
7.0.90.0630.01714.57
7.0.80.0470.01014.44
7.0.70.0630.01014.41
7.0.60.0770.01314.33
7.0.50.0900.01714.36
7.0.40.0470.01314.82
7.0.30.0570.00714.81
7.0.20.0800.01014.57
7.0.10.0670.01014.66
7.0.00.0600.01014.62

preferences:
58.57 ms | 401 KiB | 5 Q