3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; set_error_handler(function($errno, $errstr) { global $i; if (str_contains($errstr, "multi")) { echo "Error on round $i\n"; } }, E_NOTICE); while ($i < 10) { $randomBytes = random_bytes(16); $encoded = iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $randomBytes); $i++; }

preferences:
22.08 ms | 406 KiB | 5 Q