[php] Fix -prefix when there are subclasses

The calls to the parent class' magic __get, __set and __isset methods
weren't getting the prefix.
3 files changed