3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text='this PART should be CONVERTED to uppercase [This PART should not BE changed] this part should also be CONVERTED to uppercase [THIS part should also not be CHANGED] etc..'; $text = preg_replace_callback( "/(\[(.*?)\])(*SKIP)(*FAIL)|\w+/is", function($m) { return strtoupper($m[0]); }, $text); echo $text;
Output for git.master, git.master_jit, rfc.property-hooks
THIS PART SHOULD BE CONVERTED TO UPPERCASE [This PART should not BE changed] THIS PART SHOULD ALSO BE CONVERTED TO UPPERCASE [THIS part should also not be CHANGED] ETC..

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:
48.4 ms | 1521 KiB | 4 Q