Re: [PHP-DEV] [RFC] E_USER_DEPRECATED

2008-07-19 Thread Nathan Nobbe
On Sat, Jul 19, 2008 at 4:55 AM, Lars Strojny <[EMAIL PROTECTED]> wrote: > Hi everbody, > > regarding my mail from yesterday, I've also created an RFC for the new > error level. > > http://wiki.php.net/rfc/e-user-deprecated-warning i definitely like the E_USER_DEPRECATED :D im curious though, a

Re: [PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-19 Thread Arnaud Le Blanc
Hello, > Slightly modified and applied. Thanks for the good work. Thanks :) > Care to look into the MultipleIterator next? Ok, I will do that. Etienne, I think I can do that before the 24th. Regards, Arnaud -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: ht

Re: [PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-19 Thread Etienne Kneuss
Hello On Sat, Jul 19, 2008 at 5:57 PM, Marcus Boerger <[EMAIL PROTECTED]> wrote: --snip-- > > Care to look into the MultipleIterator next? > If you do intend to do it, (or if you don't), please let us know so we can prioritize things, and eventually focus on other things, before the 24th. Thanks

Re: [PHP-DEV] New string functions: str_startswith() and str_endswith()

2008-07-19 Thread Rasmus Lerdorf
For the start of the string: substr($haystack,0,strlen($needle)) == $needle And for the end of the string: substr($haystack,-strlen($needle)) == $needle For case-insensitivity, just strtolower both. Writing built-in functions for something that can be done with trivial one-liners isn't s

Re: [PHP-DEV] New string functions: str_startswith() and str_endswith()

2008-07-19 Thread Lars Strojny
Hi Martin, first of all, thanks for you work! A few comments below. Am Samstag, den 19.07.2008, 14:55 +0200 schrieb Martin Jansen: > Attached you'll find a patch against PHP_5_3 that implements two new > string functions: > > str_startswith(haystack, needle [, case_sensitivity]) That's in my op

Re: [PHP-DEV] [RFC] E_USER_DEPRECATED

2008-07-19 Thread Daniel Brown
On Sat, Jul 19, 2008 at 7:41 PM, Pierre Joye <[EMAIL PROTECTED]> wrote: > On Sat, Jul 19, 2008 at 12:55 PM, Lars Strojny <[EMAIL PROTECTED]> wrote: >> Hi everbody, >> >> regarding my mail from yesterday, I've also created an RFC for the new >> error level. +1 Sorry, I thought I'd already

Re: [PHP-DEV] [RFC] E_USER_DEPRECATED

2008-07-19 Thread Pierre Joye
On Sat, Jul 19, 2008 at 12:55 PM, Lars Strojny <[EMAIL PROTECTED]> wrote: > Hi everbody, > > regarding my mail from yesterday, I've also created an RFC for the new > error level. > > http://wiki.php.net/rfc/e-user-deprecated-warning +1 Thanks for your work :-) -- Pierre http://blog.thepimp.net

Re: [PHP-DEV] [RFC] E_USER_DEPRECATED

2008-07-19 Thread Brian Moon
Lars Strojny wrote: Hi everbody, regarding my mail from yesterday, I've also created an RFC for the new error level. http://wiki.php.net/rfc/e-user-deprecated-warning cu, Lars +1 I loves me some trigger_error() and I like to deprecate things. Right now I generate an E_USER_WARNING which is

Re: [PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-19 Thread Marcus Boerger
Hello Arnaud, Thursday, July 10, 2008, 2:16:33 PM, you wrote: > Hello, > On Wednesday 09 July 2008 20:06:14 Marcus Boerger wrote: >> Hello Arnaud, >> >> if you can provicde the same for HEAD then I'll submit it. And if you're >> fast enough we might even get it into 5.3.0 :-) Johannes, Luka

Re: [PHP-DEV] strange autoload behavior

2008-07-19 Thread Marcus Boerger
Hello Jochem, Thursday, July 17, 2008, 7:38:01 PM, you wrote: > Marcus Boerger schreef: >> Hello Jochem, >> > ... >>> I just posted another mail to internals in which I attempt to detail the >>> __autoload behaviour 'issues' ... it includes something that wants to be a >>> test suite when it g

Re: [PHP-DEV] Re: towards a 5.3 release

2008-07-19 Thread Marcus Boerger
Hello Lukas, Thursday, July 17, 2008, 8:15:52 PM, you wrote: > On 17.07.2008, at 20:03, Stanislav Malyshev wrote: >>> autoload that is). At the same time people who care about >>> performance can still work around this behavior (then again those >>> that care about optimizations on this lev

[PHP-DEV] New string functions: str_startswith() and str_endswith()

2008-07-19 Thread Martin Jansen
Attached you'll find a patch against PHP_5_3 that implements two new string functions: str_startswith(haystack, needle [, case_sensitivity]) checks if haystack starts with needle. The check is performed case-insensitively, but this can be overridden by passing TRUE as the value for the third para

[PHP-DEV] [RFC] E_USER_DEPRECATED

2008-07-19 Thread Lars Strojny
Hi everbody, regarding my mail from yesterday, I've also created an RFC for the new error level. http://wiki.php.net/rfc/e-user-deprecated-warning cu, Lars signature.asc Description: Dies ist ein digital signierter Nachrichtenteil