3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $DateString = rawurldecode('Tue%20Oct%2015%202013%2001:00:00%20GMT+0100%20(BST)'); echo substr(rawurldecode(DateString), 3); //echo date('Y-m-d H:i:s', strtotime($DateString)); ?>
Output for 7.2.0
Warning: Use of undefined constant DateString - assumed 'DateString' (this will throw an Error in a future version of PHP) in /in/6s5jN on line 5 eString
Output for 4.3.0 - 7.1.7
Notice: Use of undefined constant DateString - assumed 'DateString' in /in/6s5jN on line 5 eString