3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $result = array_merge( array( '2015-01-01' => array(array('HORA' => 0600, 'MOTIVO' => 'teste')), '2015-01-02' => array(array('HORA' => 0600, 'MOTIVO' => 'teste'),array('HORA' => 0700, 'MOTIVO' => 'teste')), '2015-01-03' => array(array('HORA' => 0600, 'MOTIVO' => 'demo')) ), array( '2015-01-02' => array(array('HORA' => 0800, 'MOTIVO' => 'teste')), '2015-01-03' => array(array('HORA' => 0800, 'MOTIVO' => 'demo')) ) ); print_r($result);
Output for 7.0.0 - 7.0.2
Parse error: Invalid numeric literal in /in/8bRRg on line 10
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Array ( [2015-01-01] => Array ( [0] => Array ( [HORA] => 384 [MOTIVO] => teste ) ) [2015-01-02] => Array ( [0] => Array ( [HORA] => 0 [MOTIVO] => teste ) ) [2015-01-03] => Array ( [0] => Array ( [HORA] => 0 [MOTIVO] => demo ) ) )