Hello, after generating PHP interface from attached file by running
swig -c++ -php bugtest.i
please examine bugtest.php, function IStore::FetchDirectoryNextPage() . Instead of returning new IResults object, it silently replaces its internal pointer and returns self. The example seems minimal, when I remove the base class, correct code is generated.
Caused me quite a headache.