3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function date__ouverture($form, &$form_state) { $now = strtotime('now'); $date = date_format($now, "D/G"); $tab_jour = array( "lundi-deb" => "7h30", "lundi-fin" => "18h30", "mardi-deb" => "7h30", "mardi-fin" => "18h30", "mercredi-deb" => "7h30", "mercredi-fin" => "18h30", "jeudi-deb" => "7h30", "jeudi-fin" => "18h30", "vendredi-deb" => "7h30", "vendredi-fin" => "14h00", );
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected end of file in /in/UgcEp on line 21
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/UgcEp on line 21
Process exited with code 255.