remove array_multisort and convert array_multisortN to use inout
[hiphop-php.git] / hphp / test / zend / good / ext / standard / tests / array / array_merge_recursive_error.php
blobdbbad4f30be2266a3ad4488905325ce3acfcae35
1 <?hh
2 /* Prototype : array array_merge_recursive(array $arr1[, array $...])
3 * Description: Recursively merges elements from passed arrays into one array
4 * Source code: ext/standard/array.c
5 */
6 <<__EntryPoint>> function main(): void {
7 echo "*** Testing array_merge_recursive() : error conditions ***\n";
9 // Zero arguments
10 echo "\n-- Testing array_merge_recursive() function with Zero arguments --\n";
11 try { var_dump( array_merge_recursive() ); } catch (Exception $e) { echo "\n".'Warning: '.$e->getMessage().' in '.__FILE__.' on line '.__LINE__."\n"; }
13 echo "Done";