[PHP-DEV] RE : RE : Namespaces and __autoload()

2007-09-13 Thread P
From: Stanislav Malyshev [mailto:[EMAIL PROTECTED] Looks like design flaw to me - why not index symbols by name, you can't have interface and class with the same name? Right. I was wrong and I have suppressed the 'interface' type in the PHK autoloader. If we ever extend autoloader to

Re: [PHP-DEV] mail.force_extra_parameters

2007-09-13 Thread Jacques Marneweck
On 13 Sep 2007, at 1:04 AM, David Coallier wrote: On 9/12/07, Stanislav Malyshev [EMAIL PROTECTED] wrote: Would anyone object to disallowing setting mail.force_extra_parameters from .htaccess? The problem is that mail.force_extra_parameters can pass arbitrary arguments to mail tool, and

[PHP-DEV] So called exploitable code found in UseBB 1 by Ilia

2007-09-13 Thread Dietrich Moerman
Hello all, Since this is the first time I am posting to this list, let me first introduce myself. I am Dietrich Moerman, a computer science student from Belgium (that's the small country known for its chocolates ;)). In my free time, I develop the UseBB forum package. Version 1, written in

Re: [PHP-DEV] [PATCH] array_get()

2007-09-13 Thread Andrew Shearer
On Sep 12, 2007, at 2:25 PM, Lukas Kahwe Smith wrote: Andrew Shearer wrote: Meanwhile, array_get() provides the most-needed functionality while avoiding the issues that prevented ifsetor's acceptance. Aside from lack of BC hacks what is the issue? I remember some fussing about the name,

Re: [PHP-DEV] [PATCH] array_get()

2007-09-13 Thread Peter Brodersen
Hi, On Wed, 12 Sep 2007 20:25:39 +0200, in php.internals [EMAIL PROTECTED] (Lukas Kahwe Smith) wrote: Aside from lack of BC hacks what is the issue? I remember some fussing about the name, but I find this a joke of an argument. You cant get much clearer a name than ifsetor(). just my opinion

Re: [PHP-DEV] [PATCH] array_get()

2007-09-13 Thread Pierre
On 9/13/07, Peter Brodersen [EMAIL PROTECTED] wrote: I'm not too fond of a function that begins with if* - it might misdirect people to think it's a control structure. ifsetor was not a function (like isset). --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] [PATCH] array_get()

2007-09-13 Thread Marcus Boerger
Hello Andrew, if we go the array_get() route as a short half solution to hopefully make a lot of people happy (at least it would serve $_GET/_REQUEST etc needs). Then I think we should make it a bit more useable: Get the default or the multilevel subscription of $ar proto mixed array_get(array

[PHP-DEV] Re: RE : RE : Namespaces and __autoload()

2007-09-13 Thread Stanislav Malyshev
Are you sure we would need to create a new hook ? If the existing autoload handlers receive a request for a function, they search for a class with that name. Apart from a waste of time, it is harmless. We can even have BC : you just have to declare your autoload handler with an optional second

Re: [PHP-DEV] Re: [PHP-QA] run-tests.php

2007-09-13 Thread Nuno Lopes
now i get the issue. It grabbs more than one line! This means run-tests.php has to be fixed. The whole thing is designed under the assumption that %s catches no new lines and hence only one line. That would be the best answer but I think it's a difficult fix and whatever it was might break

[PHP-DEV] CVS Account Request: mert

2007-09-13 Thread Mert Yazıcıo�lu
Translating the documentation -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-QA] run-tests.php

2007-09-13 Thread Johannes Schlüter
Hi Nuno, On Thu, 2007-09-13 at 20:20 +0100, Nuno Lopes wrote: now i get the issue. It grabbs more than one line! This means run-tests.php has to be fixed. The whole thing is designed under the assumption that %s catches no new lines and hence only one line. That would be the best