Re: [PHP-DEV] 'Sanity' tally to date

2008-10-19 Thread Stanislav Malyshev
Hi! --stas_s->option->because_I_could_not_read_that_code; Can't or won't? :) I have very hard time to believe you don't know what -> means. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP

[PHP-DEV] [PATCH] Allow unsetting headers previously set using header()

2008-10-19 Thread Christian Schmidt
(This is a repost of a proposal originally sent to the list 6 months ago. It didn't gather much attention back then, but I talked to several people off-list who found it useful and suggested that I should try to bring it up again at a later date - so here goes) When a header has been set using

[PHP-DEV] An optimization idea

2008-10-19 Thread Karoly Negyesi
Hi, I think zend_hash_compare could get a healthy speed boost in some cases if first it would check whether the two variables passed to it are actually the same (because of "reference counting"). Sorry, my C skills are way too rusty to write the patch which is likely to be just a few lines long.

[PHP-DEV] Re: my last attempt at sanity with namespaces

2008-10-19 Thread Jessie Hernandez
Jessie Hernandez wrote: Hi Greg, I've read through the posts and the RFC and am not sure if this was discussed before, but there is one other proposal I'd like to throw out there: why not require all classes that are inside namespaces to be explicitly imported? This would follow the AS3 appr

[PHP-DEV] Re: my last attempt at sanity with namespaces

2008-10-19 Thread Jessie Hernandez
Greg Beaver wrote: Hi, http://wiki.php.net/rfc/namespaceissues Read it and discuss. Let's be clear people: the technical problems in namespaces are limited and solvable. The problems in the political environment surrounding them may not be. Wouldn't politics be a stupid-ass reason to remove

Re: [PHP-DEV] __getStatic

2008-10-19 Thread Timm Friebe
Hi, First of all, thanks for reviewing and the feedback. I knew this wasn't perfect, and tried to understand what was previously done for __get and __set and transport that to the static counterparts. Unfortunately not all "infrastructure" like the std_*_property_handler callbacks is in place f

Re: [PHP-DEV] Namespace issues

2008-10-19 Thread Steph Fox
Hi Lester, And there are no problems with those on foreign keyboards? If there are, those foreign keyboards are unable to offer either escaped chars or MS paths... which seems highly unlikely. But do I still understand that there is an alternative method that was not part of this last roun

Re: [PHP-DEV] Namespace issues

2008-10-19 Thread Marcus Boerger
Hello David, Sunday, October 19, 2008, 1:02:21 PM, you wrote: >>> shift+;(x3) vs \ >> > Ok I'll try to make a very neutral comment. For the moment most are > still using an english keyboard (no matter which english in this case > and I'd actually be interested in knowing numbers for a fact

Re: [PHP-DEV] Namespace issues

2008-10-19 Thread David Coallier
>>> >> shift+;(x3) vs \ > Ok I'll try to make a very neutral comment. For the moment most are still using an english keyboard (no matter which english in this case and I'd actually be interested in knowing numbers for a fact if anyone's got something) and ergonomically speaking, ::: is much easier

Re: [PHP-DEV] Namespace issues

2008-10-19 Thread Lester Caine
Nathan Rixham wrote: Greg was so kind to give me part of his awesome upcoming Pyrus code. He actually has it running with both ':::' and '\' as namespace separators. So I thought I'd help out a tiny tiny bit by giving you all the choice of having a look at actual working code: shift+;(x3) vs