005+
006+ Fatal error: Uncaught TypeError: Argument 2 passed to array_key_exists() must be of the type array, object given in %s/array_key_exists_object1.php:31
007+ Stack trace:
008+ #0 %s/array_key_exists_object1.php(31): array_key_exists('var1', Object(myClass))
009+ #1 {main}
010+ thrown in %s/array_key_exists_object1.php on line 31
005- bool(true)
006- $key = var3:
007- bool(true)
008- $class1:
009- object(myClass)#1 (3) {
010- [%b|u%"var1"]=>
011- %unicode|string%(1) "a"
012- [%b|u%"var2"]=>
013- %unicode|string%(1) "b"
014- [%b|u%"var3"]=>
015- NULL
016- }
017-
018- -- Assign a value to $class2->var3 --
019- $key = var3:
020- bool(true)
021- $class2:
022- object(myClass)#2 (3) {
023- [%b|u%"var1"]=>
024- %unicode|string%(1) "x"
025- [%b|u%"var2"]=>
026- %unicode|string%(1) "y"
027- [%b|u%"var3"]=>
028- %unicode|string%(1) "z"
029- }
030- Done