stdClass Object
(
[name] => Fred
[job] => stdClass Object
(
[position] => Janitor
[years] => 4
)
)
Warning: Undefined variable $obj in /in/dQ7E3 on line 17
Fatal error: Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /in/dQ7E3:19
Stack trace:
#0 /in/dQ7E3(19): property_exists(NULL, 'job')
#1 /in/dQ7E3(10): string(Object(stdClass), 'job->years')
#2 {main}
thrown in /in/dQ7E3 on line 19
Process exited with code 255.
stdClass Object
(
[name] => Fred
[job] => stdClass Object
(
[position] => Janitor
[years] => 4
)
)
Notice: Undefined variable: obj in /in/dQ7E3 on line 17
Warning: First parameter must either be an object or the name of an existing class in /in/dQ7E3 on line 19
Output for 7.3.32 - 7.3.33
stdClass Object
(
[name] => Fred
[job] => stdClass Object
(
[position] => Janitor
[years] => 4
)
)
Warning: First parameter must either be an object or the name of an existing class in /in/dQ7E3 on line 19
Output for 5.0.4 - 5.0.5
stdClass Object
(
[name] => Fred
[job] => stdClass Object
(
[position] => Janitor
[years] => 4
)
)
Notice: Undefined variable: obj in /in/dQ7E3 on line 17
Fatal error: Call to undefined function property_exists() in /in/dQ7E3 on line 19
Process exited with code 255.
Output for 5.0.0 - 5.0.3
stdClass Object
(
[name] => Fred
[job] => stdClass Object
(
[position] => Janitor
[years] => 4
)
)
Notice: Undefined variable: obj in /in/dQ7E3 on line 17
Fatal error: Call to undefined function property_exists() in /in/dQ7E3 on line 19
Process exited with code 255.
Output for 4.4.5 - 4.4.9
stdClass Object
(
[name] => Fred
[job] => stdClass Object
(
[position] => Janitor
[years] => 4
)
)
Notice: Undefined variable: obj in /in/dQ7E3 on line 17
Fatal error: Call to undefined function: property_exists() in /in/dQ7E3 on line 19
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
stdClass Object
(
[name] => Fred
[job] => stdClass Object
(
[position] => Janitor
[years] => 4
)
)
Notice: Undefined variable: obj in /in/dQ7E3 on line 17
Fatal error: Call to undefined function: property_exists() in /in/dQ7E3 on line 19
Process exited with code 255.
Output for 4.3.0 - 4.3.1
stdClass Object
(
[name] => Fred
[job] => stdClass Object
(
[position] => Janitor
[years] => 4
)
)
Notice: Undefined variable: obj in /in/dQ7E3 on line 17
Fatal error: Call to undefined function: property_exists() in /in/dQ7E3 on line 19