<?php
$my_array=array(array('month'=> 3,
'day'=> 4,
'hour' => 1,
'minut' => 15,
'year'=> 2014),
array('month'=> 5,
'day'=> 7,
'hour' => 1,
'minut' => 50,
'year'=> 2012)
);
foreach($my_array as $k => $v) {
$new_array[i] = $v["year"]."-".$v["month"]."-".$v["day"]." ".$v["hour"].$v["minut"];
i++;
}
- Output for 5.4.0 - 5.4.25
- Parse error: syntax error, unexpected '++' (T_INC) in /in/73h6d on line 17
Process exited with code 255. - Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected T_INC in /in/73h6d on line 17
Process exited with code 255. - Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
- Parse error: parse error, unexpected T_INC in /in/73h6d on line 17
Process exited with code 255. - Output for 4.3.2 - 4.3.4
- Parse error: parse error in /in/73h6d on line 17
Process exited with code 255.
preferences:
191.54 ms | 1395 KiB | 115 Q