3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $fromDate = '25-11-2013'; $strFromDate = date("Y-m-d", strtotime($fromDate)); echo $strFromDate; // 2018-05-06
Output for 5.1.3 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
2013-11-25
Output for 5.1.1 - 5.1.2
1970-01-01
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/86gWq on line 5
Process exited with code 255.
Output for 4.3.0 - 5.0.5
2031-05-06