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 Runti

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 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 <[

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" "namespace". > Exactly. >> As a classname it wou

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" "namespace". Exactly. > As a classname it would be "class namespace in namespace my". > I guess your point is how to

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

2005-12-04 Thread Marcus Boerger
Hello Wez, Sunday, December 4, 2005, 7:36:19 PM, you wrote: > On 12/4/05, Marcus Boerger <[EMAIL PROTECTED]> wrote: >> > On the backslash: It'll be a bitch in places where you need the class name >> > as a string (reflection) because \ needs to be escaped withing a string. >> > Think: How many ba

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

2005-12-04 Thread Wez Furlong
On 12/4/05, Marcus Boerger <[EMAIL PROTECTED]> wrote: > > On the backslash: It'll be a bitch in places where you need the class name > > as a string (reflection) because \ needs to be escaped withing a string. > > Think: How many backslashes do you need in a regular expression using double > > quot

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

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 > w

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 real

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 p

[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 di