3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = " ala KOM1/9/2000 7/7/2015 1-7-2001 7.7.2001 "; echo preg_replace("/(\d+)-(\d+)-(\d+)/", "$2/$3/$1", "2007-01-25"); echo preg_replace( "\d{2}", "XX", $s); ?>
Output for git.master, git.master_jit, rfc.property-hooks
01/25/2007 Warning: preg_replace(): Delimiter must not be alphanumeric, backslash, or NUL in /in/tOYcf on line 6

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