stdClass Object
(
[name] => Fred
[job] => stdClass Object
(
[position] => Janitor
[years] => 4
)
)
Has property: job
Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in /in/rmCB4:25
Stack trace:
#0 /in/rmCB4(10): string(Object(stdClass), 'job->years')
#1 {main}
thrown in /in/rmCB4 on line 25
Process exited with code 255.
stdClass Object
(
[name] => Fred
[job] => stdClass Object
(
[position] => Janitor
[years] => 4
)
)
Has property: job
Recoverable fatal error: Object of class stdClass could not be converted to string in /in/rmCB4 on line 25
Process exited with code 255.
stdClass Object
(
[name] => Fred
[job] => stdClass Object
(
[position] => Janitor
[years] => 4
)
)
Has property: job
Catchable fatal error: Object of class stdClass could not be converted to string in /in/rmCB4 on line 25
Process exited with code 255.
Output for 5.1.0 - 5.1.6
stdClass Object
(
[name] => Fred
[job] => stdClass Object
(
[position] => Janitor
[years] => 4
)
)
Has property: jobObject id #2
Notice: Undefined property: stdClass::$job in /in/rmCB4 on line 27
Has property: years4
Notice: Trying to get property of non-object in /in/rmCB4 on line 27
Years in current job:
Output for 5.0.0 - 5.0.5
stdClass Object
(
[name] => Fred
[job] => stdClass Object
(
[position] => Janitor
[years] => 4
)
)
Fatal error: Call to undefined function property_exists() in /in/rmCB4 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
)
)
Fatal error: Call to undefined function: property_exists() in /in/rmCB4 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
)
)
Fatal error: Call to undefined function: property_exists() in /in/rmCB4 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
)
)
Fatal error: Call to undefined function: property_exists() in /in/rmCB4 on line 19