RL>> The example was something like: RL>> RL>> class foo { RL>> function foo() { RL>> legacy generic constructor code RL>> } RL>> function __construct() { RL>> php5-specific stuff RL>> $this->foo(); // chain to legacy constructor code RL>> } RL>> } RL>> RL>> A bit contrieved, but when this class runs under PHP5 it would run the RL>> additional PHP5-specific code and when it runs under PHP4 it wouldn't.
What is "php5-specific stuff" here? If there are some PHP5-specific constructs, they won't just run under PHP4, so the class is unusable under PHP4 anyway, not? Could you give me real-life example of someone using this to do something? -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.109 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php