Test: /ext/standard/tests/array/array_key_exists.phpt - Version 7.1.16-dev    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
137+ Fatal error: Uncaught TypeError: Argument 2 passed to array_key_exists() must be of the type array, string given in %s/array_key_exists.php:74
138+ Stack trace:
139+ #0 %s/array_key_exists.php(74): array_key_exists('', '')
140+ #1 {main}
141+ thrown in %s/array_key_exists.php on line 74
137- Warning: array_key_exists() expects parameter 2 to be array, string given in %s on line %d
138- NULL
139-
140- Warning: array_key_exists() expects parameter 2 to be array, integer given in %s on line %d
141- NULL
142-
143- Warning: array_key_exists() expects parameter 2 to be array, null given in %s on line %d
144- NULL
145-
146- Warning: array_key_exists() expects parameter 2 to be array, boolean given in %s on line %d
147- NULL
148-
149- Warning: array_key_exists() expects parameter 2 to be array, boolean given in %s on line %d
150- NULL
151-
152- Warning: array_key_exists() expects parameter 2 to be array, float given in %s on line %d
153- NULL
154-
155- Warning: array_key_exists() expects exactly 2 parameters, 3 given in %s on line %d
156- NULL
157-
158- Warning: array_key_exists(): The first argument should be either a string or an integer in %s on line %d
159- bool(false)
160-
161- *** Testing operation on objects ***
162- bool(false)
163- bool(false)
164- bool(true)
165- bool(false)
166- bool(true)
167- bool(true)
168-
169- Warning: array_key_exists(): The first argument should be either a string or an integer in %s on line %d
170- bool(false)
171- Done