3v4l.org

run code in 500+ PHP versions simultaneously
<?php // Paste the Lorem Ipsum text from the website between the quotes below $text = "PASTE_YOUR_LOREM_IPSUM_HERE"; // This regex finds Zero Width Characters (Space, Non-Joiner, Joiner) preg_match_all('/[\x{200B}-\x{200F}\x{FEFF}]/u', $text, $matches); $binary = ''; foreach ($matches[0] as $char) { // Map the specific zero-width characters to 0s and 1s // Common mapping: U+200B is 0, U+200C is 1 $binary .= ($char === "\xE2\x80\x8B") ? '0' : '1'; } // Convert the binary blocks into ASCII characters foreach (str_split($binary, 8) as $byte) { echo chr(bindec($byte)); }

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.5.30.0120.00616.67
8.5.20.0090.00816.67
8.5.10.0330.00616.48
8.5.00.0340.00716.70
8.4.180.0280.01319.77
8.4.170.0330.00919.75
8.4.160.0310.01219.86
8.4.150.0300.00619.82
8.4.140.0070.00517.89
8.4.130.0170.00417.85
8.4.120.0200.00318.02
8.4.110.0240.00617.95
8.4.100.0310.00917.80
8.4.90.0320.00917.82
8.4.80.0310.00718.12
8.4.70.0180.00318.00
8.4.60.0270.00717.80
8.4.50.0410.00717.84
8.4.40.0380.00917.90
8.4.30.0470.00517.71
8.4.20.0370.00517.64
8.4.10.0410.00917.72
8.3.300.0220.00818.53
8.3.290.0340.00618.45
8.3.280.0320.00718.41
8.3.270.0390.00716.57
8.3.260.0350.01016.73
8.3.250.0320.00816.86
8.3.240.0330.00916.80
8.3.230.0330.00616.82
8.3.220.0360.00616.65
8.3.210.0360.00716.52
8.3.200.0350.00816.84
8.3.190.0340.00916.66
8.3.180.0230.01016.76
8.3.170.0360.00516.54
8.3.160.0340.01116.89
8.3.150.0390.00616.72
8.3.140.0420.01016.38
8.3.130.0270.00316.98
8.3.120.0310.00716.78
8.3.110.0350.00616.73
8.3.100.0410.00716.83
8.3.90.0370.00416.92
8.3.80.0240.00916.73
8.3.70.0410.00516.73
8.3.60.0350.00916.73
8.3.50.0340.00816.74
8.3.40.0330.00518.09
8.3.30.0240.00818.11
8.3.20.0310.00517.81
8.3.10.0270.00818.09
8.3.00.0290.00817.91

preferences:
42.76 ms | 696 KiB | 5 Q