----- Original Message -----
From: "Etienne Kneuss" <[EMAIL PROTECTED]>
To: <internals@lists.php.net>
Sent: Sunday, September 16, 2007 10:50 AM
Subject: Re: [PHP-DEV] [patch] Late static bindings (LSB)
However this causes a seg fault in your current patch. I will do a little
more checking to see why you are segfaulting here.
That's an endless recursion, hence the segfault ;)
Yah, quickly found that out after running gdb
In either case without having some way to chain callers this is going to
become a very annoying problem when utilizing inheritance with late
static binding.
I aggree that it could be a problem indeed, but you usually use LSB to
avoid having to redeclare static functions in child classes, if you do
anyway, LSB looses its interest.
You of course wouldn't HAVE to redeclare the static function. Occasionally
you just need to do a little extra in a child class and if this breaks lsb
(or makes it innefective) with no work around (static::) then that would be
no good.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php