3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = preg_replace('\b(https?|ftp|file)://[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|]', '', $string); $string = "Here is another funny site here we.Go to the"; echo "Cleaned: " . cleaner($url);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $string in /in/cWHrQ on line 3 Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /in/cWHrQ on line 3 Warning: preg_replace(): Delimiter must not be alphanumeric, backslash, or NUL in /in/cWHrQ on line 3 Fatal error: Uncaught Error: Call to undefined function cleaner() in /in/cWHrQ:6 Stack trace: #0 {main} thrown in /in/cWHrQ on line 6
Process exited with code 255.

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