1--TEST--
2Test array_merge_recursive() function : error conditions
3--FILE--
4<?php
5/* Prototype  : array array_merge_recursive(array $arr1[, array $...])
6 * Description: Recursively merges elements from passed arrays into one array
7 * Source code: ext/standard/array.c
8 */
9
10echo "*** Testing array_merge_recursive() : error conditions ***\n";
11
12// Zero arguments
13echo "\n-- Testing array_merge_recursive() function with Zero arguments --\n";
14var_dump( array_merge_recursive() );
15
16echo "Done";
17?>
18--EXPECTF--
19*** Testing array_merge_recursive() : error conditions ***
20
21-- Testing array_merge_recursive() function with Zero arguments --
22
23Warning: array_merge_recursive() expects at least 1 parameter, 0 given in %s on line %d
24NULL
25Done
26