3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = "25 / aug/ust/ 2009"; $result = explode('/',$date); var_dump($result); $arr = {'heloo','wolrd'}; // $result = implode() print_r($result); $arr = array('Hello','World!','Beautiful','Day!'); echo implode(" ",$arr); $my_date = date('Y/m/d', strtotime($date)); echo $my_date;
Output for 5.3.0 - 5.4.26
Parse error: syntax error, unexpected '{' in /in/jd77K on line 5
Process exited with code 255.