3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(sprintf('%2147483648$s, %2$s %1$s', "Sir", "Yes"));

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.1.130.0000.00717.24
8.1.120.0040.00417.39
8.1.110.0000.00817.33
8.1.100.0000.00817.23
8.1.90.0040.00417.35
8.1.80.0050.00317.30
8.1.70.0030.00517.22
8.1.60.0000.00717.34
8.1.50.0060.00317.51
8.1.40.0060.00317.48
8.1.30.0050.00217.60
8.1.20.0040.00417.53
8.1.10.0060.00317.47
8.1.00.0050.00517.48
8.0.260.0030.00316.73
8.0.250.0000.00716.95
8.0.240.0060.00016.86
8.0.230.0070.00016.89
8.0.220.0030.00316.88
8.0.210.0040.00416.75
8.0.200.0020.00516.94
8.0.190.0060.00316.98
8.0.180.0000.00716.74
8.0.170.0060.00316.84
8.0.160.0000.00716.86
8.0.150.0030.00516.88
8.0.140.0000.00716.84
8.0.130.0000.00513.36
8.0.120.0030.00516.86
8.0.110.0040.00416.90
8.0.100.0050.00316.71
8.0.90.0000.00816.93
8.0.80.0050.01016.84
8.0.70.0080.00016.81
8.0.60.0040.00416.77
8.0.50.0000.00716.95
8.0.30.0060.01617.01
8.0.20.0080.01116.99
8.0.10.0040.00416.80
8.0.00.0100.01017.86
7.4.330.0030.00315.55
7.4.320.0060.00016.47
7.4.300.0000.00716.49
7.4.290.0040.00416.30
7.4.280.0060.00316.26
7.4.270.0040.00416.35
7.4.260.0030.00313.14
7.4.250.0030.00316.22
7.4.240.0050.00216.36
7.4.230.0070.00016.58
7.4.220.0050.00216.37
7.4.210.0080.01016.44
7.4.200.0000.00716.47
7.4.140.0090.00717.86
7.4.130.0090.00817.86
7.4.120.0130.00517.86
7.4.110.0060.01117.86
7.4.100.0120.01017.86
7.4.90.0120.00617.86
7.4.80.0120.00817.86
7.4.70.0130.00817.86
7.4.60.0120.00417.86
7.4.50.0120.00517.86
7.4.40.0110.00717.86
7.4.30.0070.01117.86
7.4.20.0110.00817.86
7.4.10.0090.00917.86
7.4.00.0120.00517.86
7.3.330.0060.00016.29
7.3.320.0030.00313.09
7.3.310.0030.00316.15
7.3.300.0030.00516.14
7.3.290.0060.00816.19
7.3.260.0040.01217.86
7.3.250.0120.00517.86
7.3.240.0090.00917.86
7.3.230.0080.01217.86
7.3.220.0070.01217.86
7.3.210.0080.00817.86
7.3.200.0120.01617.86
7.3.190.0080.00917.86
7.3.180.0060.01117.86
7.3.170.0070.01017.86
7.3.160.0110.00617.86
7.3.150.0090.00917.86
7.3.140.0090.01017.86
7.3.130.0100.00817.86
7.3.120.0090.00717.86
7.3.110.0120.00617.86
7.3.100.0120.00517.86
7.3.90.0040.01517.86
7.3.80.0050.01117.86
7.3.70.0080.00917.86
7.3.60.0080.00817.86
7.3.50.0100.00617.86
7.3.40.0070.00917.86
7.3.30.0090.00817.86
7.3.20.0060.01217.86
7.3.10.0090.01017.86
7.3.00.0100.00917.86

preferences:
67.11 ms | 406 KiB | 5 Q