3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = "\0a"; for ($i = 0; $i < 255; $i++) { echo bin2hex(++$foo) . PHP_EOL; }

Abusive script

This script was stopped while abusing our resources

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.40.0120.00919.59
8.4.30.0170.00318.48
8.4.20.0140.00319.76
8.4.10.0030.00620.63
8.3.160.0060.01317.17
8.3.150.0130.00317.25
8.3.140.0070.00319.09
8.3.130.0060.01218.55
8.3.120.0030.00620.80
8.3.110.0030.00620.94
8.3.100.0090.00218.71
8.3.90.0130.00326.77
8.3.80.0070.00418.43
8.3.70.0170.00716.88
8.3.60.0080.00818.68
8.3.50.0190.00020.44
8.3.40.0160.00619.04
8.3.30.0070.01319.17
8.3.20.0030.00624.18
8.3.10.0060.00324.66
8.3.00.0040.00826.16
8.2.270.0150.00418.14
8.2.260.0160.00316.61
8.2.250.0130.00616.50
8.2.240.0060.00316.93
8.2.230.0030.00622.58
8.2.220.0090.00637.54
8.2.210.0200.00026.77
8.2.200.0070.00318.54
8.2.190.0040.01116.58
8.2.180.0100.01025.92
8.2.170.0100.00318.89
8.2.160.0110.00422.96
8.2.150.0060.00325.66
8.2.140.0060.01224.66
8.2.130.0040.00426.16
8.2.120.0040.00420.80
8.2.110.0090.00020.44
8.2.100.0090.00020.57
8.1.310.0060.00318.64
8.1.300.0070.00317.83
8.1.290.0030.00730.84
8.1.280.0070.00725.92
8.1.270.0030.00524.66
8.1.260.0030.00626.35
8.1.250.0030.00628.09
8.1.240.0060.00318.73
8.1.230.0080.00318.99
8.1.30.0050.00817.60

preferences:
49.85 ms | 1280 KiB | 5 Q