3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace_callback('~[A-Z]~', function($_) { return chr(32 + ord($_[0])); }, 'Important: you are NOT allowed to use a built-in function that converts the string (or just one character) to lowercase (such as ToLower() in .NET, strtolower() in PHP , ...)! You\'re allowed to use all other built-in functions, however.');
Output for git.master_jit, git.master, rfc.property-hooks
important: you are not allowed to use a built-in function that converts the string (or just one character) to lowercase (such as tolower() in .net, strtolower() in php , ...)! you're allowed to use all other built-in functions, however.

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:
40.28 ms | 401 KiB | 8 Q