Re: PHP6 just became my worst nightmare.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jochem Maas wrote:
apparently calling a dynamic function using static syntax
will cause an E_FATAL.

? That's just how OO design works... If you have a non-static method you can always have a $this-> lingering in there. Now, if you call this method with the static syntax, $this suddenly doesn't exist... Design wise trying to do something like this is just fundamentally wrong. That it was supported in PHP 5 can be considered as the bug and it was just fixed...

The other way (calling a static function dynamically) ofcourse does not give any problems.

Derick

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux