3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $results = array ( 'day' => 9, 'hour' => 19, 'month' => 10, 'minute' => 5, 'meridiem' => NULL, 'second' => 40, 'year' => 2014, ); $time = mktime( $results['hour'], $results['minute'], $results['second'], $results['month'], $results['day'], $results['year'] ); $d = date('d.m.Y H:i:s',$time); var_dump($d);
based on 0SAkU
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(19) "09.10.2014 19:05:40"