diff options
Diffstat (limited to 'ext/standard/tests/array/array_key_exists.phpt')
-rw-r--r-- | ext/standard/tests/array/array_key_exists.phpt | 48 |
1 files changed, 29 insertions, 19 deletions
diff --git a/ext/standard/tests/array/array_key_exists.phpt b/ext/standard/tests/array/array_key_exists.phpt index 66f8a5ab9c..40bd54fd94 100644 --- a/ext/standard/tests/array/array_key_exists.phpt +++ b/ext/standard/tests/array/array_key_exists.phpt @@ -255,23 +255,23 @@ NULL Warning: array_key_exists(): The first argument should be either a string or an integer in %s on line %d bool(false) -Warning: array_key_exists(): The second argument should be either an array or an object in %s on line %d -bool(false) +Warning: array_key_exists() expects parameter 2 to be array, string given in %s on line %d +NULL -Warning: array_key_exists(): The second argument should be either an array or an object in %s on line %d -bool(false) +Warning: array_key_exists() expects parameter 2 to be array, integer given in %s on line %d +NULL -Warning: array_key_exists(): The second argument should be either an array or an object in %s on line %d -bool(false) +Warning: array_key_exists() expects parameter 2 to be array, null given in %s on line %d +NULL -Warning: array_key_exists(): The second argument should be either an array or an object in %s on line %d -bool(false) +Warning: array_key_exists() expects parameter 2 to be array, boolean given in %s on line %d +NULL -Warning: array_key_exists(): The second argument should be either an array or an object in %s on line %d -bool(false) +Warning: array_key_exists() expects parameter 2 to be array, boolean given in %s on line %d +NULL -Warning: array_key_exists(): The second argument should be either an array or an object in %s on line %d -bool(false) +Warning: array_key_exists() expects parameter 2 to be array, double given in %s on line %d +NULL Warning: array_key_exists() expects exactly 2 parameters, 3 given in %s on line %d NULL @@ -280,13 +280,23 @@ Warning: array_key_exists(): The first argument should be either a string or an bool(false) *** Testing operation on objects *** -bool(false) -bool(false) -bool(true) -bool(false) -bool(true) + +Warning: array_key_exists() expects parameter 2 to be array, object given in %s on line %d +NULL + +Warning: array_key_exists() expects parameter 2 to be array, object given in %s on line %d +NULL + +Warning: array_key_exists() expects parameter 2 to be array, object given in %s on line %d +NULL + +Warning: array_key_exists() expects parameter 2 to be array, object given in %s on line %d +NULL + +Warning: array_key_exists() expects parameter 2 to be array, object given in %s on line %d +NULL bool(true) -Warning: array_key_exists(): The first argument should be either a string or an integer in %s on line %d -bool(false) +Warning: array_key_exists() expects parameter 2 to be array, object given in %s on line %d +NULL Done |