[php] Fix -prefix when there are subclasses

The calls to the parent class' magic __get, __set and __isset methods
weren't getting the prefix.
This commit is contained in:
Olly Betts 2021-05-12 14:58:59 +12:00
commit ead90be779
3 changed files with 10 additions and 4 deletions

View file

@ -5,7 +5,7 @@ require "tests.php";
// No new functions
check::functions(array());
// New classes
check::classes(array('ProjectFoo'));
check::classes(array('ProjectBar','ProjectFoo'));
// No new vars
check::globals(array());

View file

@ -11,4 +11,10 @@ public:
}
};
// This failed in git pre 4.1.0 - the calls to the parent class' magic __get,
// __set and __isset methods weren't getting the prefix.
class Bar : public Foo {
public:
};
%}