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++; }
Output for git.master_jit
Error on round 5
Output for git.master
Error on round 1 Error on round 4 Error on round 5 Error on round 8
Output for rfc.property-hooks
Error on round 0 Error on round 1

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
25.99 ms | 407 KiB | 5 Q