3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = "25 august 2009"; $result = explode('',$date); var_dump($result); print_r($result); $my_date = date('Y/m/d', strtotime($date)); echo $my_date;
Output for 5.2.5 - 7.1.0
Warning: explode(): Empty delimiter in /in/rg9pR on line 3 bool(false) 2009/08/25
Output for 4.3.2 - 5.2.4
Warning: explode(): Empty delimiter. in /in/rg9pR on line 3 bool(false) 2009/08/25
Output for 4.3.0 - 4.3.1
Warning: explode() [http://www.php.net/function.explode]: Empty delimiter. in /in/rg9pR on line 3 bool(false) 2009/08/25