Jason Sweat wrote:

Hi Gareth,

In addition to the other options people have mentioned, you could also
use the old standby of:
eval("\$result = $scanning_class::scanBuffer(\$input);");


Cheers for all the replies, people. I may have a bit of a prod at the internals this evening though, as this is a bloody annoying thing when you're trying to build up a highly modularised system - and I'd like the code as clean as possible really, not jumping through hoops like use reflection API to do this as it has to be maintained by people who haven't yet encountered that type of thing.

Cheers,

--
Gareth Ardron

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to