PHP Child class Magic __isset works but __get doesn't PHP Child class Magic __isset works but __get doesn't php php

PHP Child class Magic __isset works but __get doesn't


The __get function in the parent is somewhat complex, so I haven't fully figured out whether the following might be happening or not. If your __get function, once called, is in some way triggering another call back into itself (perhaps with some intervening calls to other functions on the stack), this is exactly what would happen.

See http://php.net/manual/en/language.oop5.overloading.php#55486, which shows the exact same type of error being logged when the getter triggers a call to itself. In that instance, it is pretty easy to spot, but with a more complicated call graph of something like func() to __get() to funcB() to funcC() to __get(), it would not be easy to spot.


Not sure if i am right but shouldn't you use

$this->_object['status'] 

instead of

$this->status