3v4l.org

run code in 300+ PHP versions simultaneously
<?php $entry = <<<ENTRY Bob 1 https://www.example.com#Anchor Joe 2 joe@exAmple.com Sam 3 http://examPle.org Ian 4 www.Example.net Öna 5 eXample.info Eve 6 Heart_in_a_Blender ENTRY; $entry = preg_replace_callback( '/\S+/', function($m) { if (!filter_var($m[0], FILTER_VALIDATE_URL)) { $m[0] = mb_strtolower($m[0], "UTF-8"); } return $m[0]; }, $entry ); echo $entry;
Output for git.master, git.master_jit, rfc.property-hooks
bob 1 https://www.example.com#Anchor joe 2 joe@example.com sam 3 http://examPle.org ian 4 www.example.net öna 5 example.info eve 6 heart_in_a_blender

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:
165.84 ms | 405 KiB | 5 Q