3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = '$argv = "127.0.0.1;'; $trigger = ".*)/e\0"; // function to emphasize the searched word in the results preg_replace( "/($trigger)/i", '"<em>" . strtoupper($1) . "</em>"', $data ); var_dump($argv);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: preg_replace(): NUL is not a valid modifier in /in/p31LC on line 7 array(1) { [0]=> string(9) "/in/p31LC" }

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.37 ms | 401 KiB | 8 Q