3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date='08/26/2003'; print preg_replace(“([0-9]+)/([0-9]+)/([0-9]+)”,”\\2/\\1/\\3”,$date); ?>
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.0 - 5.4.11
Parse error: syntax error, unexpected ')' in /in/cONTW on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.21
Parse error: syntax error, unexpected '[', expecting ')' in /in/cONTW on line 3
Process exited with code 255.