3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $result = array_udiff( 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-01' => array(array('HORA' => '0600', 'MOTIVO' => 'teste')), '2015-01-02' => array(array('HORA' => '0800', 'MOTIVO' => 'teste')), '2015-01-03' => array(array('HORA' => '0800', 'MOTIVO' => 'demo')) ) ); print_r($result);
based on buftP
Output for 7.0.0 - 7.2.0
Warning: array_udiff(): at least 3 parameters are required, 2 given in /in/ZFOkr on line 10
Output for 5.3.21 - 5.6.28
Warning: array_udiff(): at least 3 parameters are required, 2 given in /in/ZFOkr on line 14