3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $customerDB = array( 'smsmcam' => array( 'IDX_TITULO' => array('smcam_cliente', 'smcam_titulo'), 'PRIMARY' => array('smcam_codigo') ), 'tmvleml' => array( 'IDX_DATA' => array('vleml_data'), ), ); $privateDB = array( 'smsmcam' => array( 'IDX_TITULO' => array('smcam_cliente', 'smcam_titulo'), 'PRIMARY' => array('smcam_codigo') ), ); // $diffCustomerToPrivate = array_diff($customerDB, $privateDB); var_dump( ($customerDB === $privateDB) );
based on hVgbv
Output for 4.3.0 - 5.6.30, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.3.0beta1
bool(false)