3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php$a = '2014-11-03 20:32:12';$a = preg_replace("/^\s+(.*?)/",'',$a);echo $a;?>
based on Y0Gf7
Output for 5.4.34 - 5.4.35
Parse error: syntax error, unexpected '$a' (T_VARIABLE) in /in/gG3kt on line 1
Process exited with code 255.
Output for 5.4.0 - 5.4.32
<?php$a = '2014-11-03 20:32:12';$a = preg_replace("/^\s+(.*?)/",'',$a);echo $a;?>