[PHP-DEV] SPL memory allocation problem

2005-12-04 Thread Stanislav Malyshev
In spl_iterators.c around line 320 (function spl_recursive_it_rewind_ex), there's the following code: erealloc(object-iterators, sizeof(spl_sub_iterator)); As we see, object-iterators is not assigned the result of realloc. As I can see, this may lead to a problem when erealloc returns

AW: [PHP-DEV] Basic Namespace Requirements

2005-12-04 Thread Timm Friebe
Hi, Hello Jessie, [...] you should simply try to come up with a working patch using a working separator which can clearly only be \. Why is \ the only character that could work? Because it's unused? What about for examole the tilde (~) or the exclamation mark (!)? - both of them are

Re: [PHP-DEV] Re: Recommended work flow for Win32 module compilation

2005-12-04 Thread Wez Furlong
Yeah, we should persuade Edin to upgrade his compiler :) --Wez. On 12/4/05, Patrick Barnes [EMAIL PROTECTED] wrote: Wez, If you want your module to work with the stock Win32 PHP release, you'll need MSVC6. The rest is described in the manual. VC6 or above... VC6 is really old now,

Re: [PHP-DEV] PHP 5.1.2 Release Plan

2005-12-04 Thread Marcus Boerger
Hello Pierre, Thursday, December 1, 2005, 8:58:45 PM, you wrote: On Thu, 1 Dec 2005 20:52:32 +0100 [EMAIL PROTECTED] (Marcus Boerger) wrote: Hello Ilia, i prefer only allowing PHP License in 'stock PHP'. The question was not what we prefer but what is allowed or not, and why. Once

Re: AW: [PHP-DEV] Basic Namespace Requirements

2005-12-04 Thread Marcus Boerger
Hello Timm, Sunday, December 4, 2005, 3:22:48 PM, you wrote: Hi, Hello Jessie, [...] you should simply try to come up with a working patch using a working separator which can clearly only be \. Why is \ the only character that could work? Because it's unused? What about for examole

Re: AW: [PHP-DEV] Basic Namespace Requirements

2005-12-04 Thread Wez Furlong
On 12/4/05, Marcus Boerger [EMAIL PROTECTED] wrote: Wrong assumption. The \ won't need to be escaped. Err, what about my\namespace ? That would be the string my newline namespace. Exactly. As a classname it would be class namespace in namespace my. I guess your point is how to use that

Re: AW: [PHP-DEV] Basic Namespace Requirements

2005-12-04 Thread Marcus Boerger
Hello Wez, Sunday, December 4, 2005, 7:45:14 PM, you wrote: On 12/4/05, Marcus Boerger [EMAIL PROTECTED] wrote: Wrong assumption. The \ won't need to be escaped. Err, what about my\namespace ? That would be the string my newline namespace. Exactly. As a classname it would be class

Re: AW: [PHP-DEV] Basic Namespace Requirements

2005-12-04 Thread Wez Furlong
You're ignoring the case where people use my\namespace as a string to pass into eg: the reflection API, call_user_function etc. etc. --Wez. On 12/4/05, Marcus Boerger [EMAIL PROTECTED] wrote: Hello Wez, Sunday, December 4, 2005, 7:45:14 PM, you wrote: On 12/4/05, Marcus Boerger [EMAIL

Re: AW: [PHP-DEV] Basic Namespace Requirements

2005-12-04 Thread Oliver Grätz
Marcus Boerger schrieb: $bla = ${foo\bar::constant}; This is WORSE than Perl. OLLi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: AW: [PHP-DEV] Basic Namespace Requirements

2005-12-04 Thread Marcus Boerger
Hello Oliver, unfortunatley it is (besides the namespaces) already leagal syntax. marcus Sunday, December 4, 2005, 11:59:14 PM, you wrote: Marcus Boerger schrieb: $bla = ${foo\bar::constant}; This is WORSE than Perl. OLLi Best regards, Marcus -- PHP Internals - PHP Runtime