3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "827/1/2007KOM1/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( "|(\s\d+/)(\d/20)|", "${1}0$2", $s); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Using ${expr} (variable variables) in strings is deprecated, use {${expr}} instead in /in/4ptaN on line 7 Warning: Undefined variable $1 in /in/4ptaN on line 7 827/1/2007KOM1/9/200007/2015 1-7-2001 7.7.2001

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