Hello Sebastian, there is a technical issue besides slowdown. We have to work around the fact that suddenly a function might get $this as a normal variable (remember the examples give on this list included that). Right now $this is handled by a special zval not stored in the local or global symol table bit EG(this). This will become a major maintanance hell. Also allowing $this as normal variable again will confuse people because suddenly after 5.1 they are under some circumstances suddenly able to change $this. That said, we will also get a bunch of new bug reports, but who cares, it's the others dealing with them. And all for what? to refuse using globals as they are to php'isch? or to use an array in a declared sttaic variable as that can already be done and is also far to php'ish?
best regards marcus Wednesday, May 17, 2006, 10:10:11 AM, you wrote: > Sebastian Bergmann wrote: >>> Addition of support for dynamic statics ala: class foo {} foo::$bar = 1; >> >> -1 > Apparently I had the wrong context when I read a posting by Marcus on > technical issues (slowdown). > If there are no technical issues with implementing this, then I am -0 > on this. > -- > Sebastian Bergmann http://www.sebastian-bergmann.de/ > GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php