[PHP-DEV] RE: Why not jar for phar? (was Re: [PHP-DEV] PHAR was PHP 5.3 Suggested Feature List)

2007-09-10 Thread Andi Gutmans
Hi Greg, I didn't mean to get you all defensive about it. I was just voicing my personal thoughts on this subject as I did a few months back. It's just my 2 cents and you're free to take it or leave it. I think from a perf point of view the info Dmitry can send you may at least give you some

[PHP-DEV] Why not jar for phar? (was Re: [PHP-DEV] PHAR was PHP 5.3 Suggested Feature List)

2007-09-10 Thread Gregory Beaver
Andi Gutmans wrote: >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On >> Behalf Of David Coallier >> Sent: Monday, September 10, 2007 4:05 PM >> To: Andi Gutmans >> Cc: Gregory Beaver; PHP Developers Mailing List >> Subject: Re: [PHP-DEV] PHAR was PHP 5.3 Suggest

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

2007-09-10 Thread Andrew Shearer
On Sep 10, 2007, at 10:31 PM, Antony Dovgal wrote: On 11.09.2007 02:12, Andrew Shearer wrote: Here's a patch against HEAD that implements the array_get function previously suggested on this list. I also attached a test suite, which should go in ext/standard/tests/array/array_get.phpt. Feedback

RE: [PHP-DEV] PHAR was PHP 5.3 Suggested Feature List

2007-09-10 Thread Andi Gutmans
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of David Coallier > Sent: Monday, September 10, 2007 4:05 PM > To: Andi Gutmans > Cc: Gregory Beaver; PHP Developers Mailing List > Subject: Re: [PHP-DEV] PHAR was PHP 5.3 Suggested Feature List > > Andi,

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

2007-09-10 Thread Antony Dovgal
On 11.09.2007 02:12, Andrew Shearer wrote: > Here's a patch against HEAD that implements the array_get function > previously suggested on this list. I also attached a test suite, > which should go in ext/standard/tests/array/array_get.phpt. Feedback > is welcome. > > Independently, someone e

Re: [PHP-DEV] multiple namespace per file

2007-09-10 Thread Stanislav Malyshev
is somefile.php also included in the B namespace since you cannot include it in global scope. No, somefile.php does not automatically belong to either A or B, it can contain namespaces definition inside and thus belong to either A or B or neither, but it is parsed as entirely separate entity

Re: [PHP-DEV] multiple namespace per file

2007-09-10 Thread David Coallier
On 9/10/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > > Ok, I was wondering to myself, do you guys think it would be possible > > to do something like having an endnamespaces; keyword that would put > > an end to the namespace definition? > > Oh no :) It doesn't look good and it doesn't solve

Re: [PHP-DEV] multiple namespace per file

2007-09-10 Thread Stanislav Malyshev
Ok, I was wondering to myself, do you guys think it would be possible to do something like having an endnamespaces; keyword that would put an end to the namespace definition? Oh no :) It doesn't look good and it doesn't solve the problem. Hint: the braces have the same problem (that's why I ask

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

2007-09-10 Thread Arnold Daniels
Hi, Please also add the patch provided by John Bafford last Januari. Arnold Andrew Shearer wrote: I had forgotten that attachments aren't allowed. Here are links to the patch and test suite. This ought to work. Sorry for the multiple posts, everyone. http://ashearer.com/software/array_get/

Re: [PHP-DEV] multiple namespace per file

2007-09-10 Thread David Coallier
On 9/10/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > Hi! > > Following the feedback from the community, we (mostly me and Dmitry) > tried to find a good model that would allow multiple namespaces per file > without running into too many problems and complications, and would > allow to bundle

Re: [PHP-DEV] Patch for macros for tracking refcount and is_ref

2007-09-10 Thread Cristian Rodriguez
On 9/10/07, Marcus Boerger <[EMAIL PROTECTED]> wrote: > And please no more magic switches that lead to broken code. that's what worries me, I dont get why people wants to introduce yet another switch to disable to garbage collector ( that will lead to different/broken behaviuor) I think there is

[PHP-DEV] multiple namespace per file

2007-09-10 Thread Stanislav Malyshev
Hi! Following the feedback from the community, we (mostly me and Dmitry) tried to find a good model that would allow multiple namespaces per file without running into too many problems and complications, and would allow to bundle multiple namespaced files together without modifications. It lo

Re: [PHP-DEV] PHAR was PHP 5.3 Suggested Feature List

2007-09-10 Thread David Coallier
On 9/10/07, Andi Gutmans <[EMAIL PROTECTED]> wrote: > Yes, I will ask Dmitry to share it with you. There's huge value in > having a standard format which existing tools can already manipulate. It > doesn't have to be tar but IMO it should be something standard. > > Andi > > > -Original Message-

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

2007-09-10 Thread Andrew Shearer
I had forgotten that attachments aren't allowed. Here are links to the patch and test suite. This ought to work. Sorry for the multiple posts, everyone. http://ashearer.com/software/array_get/2007-09-10-php6/array_get.diff http://ashearer.com/software/array_get/2007-09-10-php6/array_get.phpt

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Stanislav Malyshev
That patch is a very good idea, but it does not work there are symbols that are no lomger exported on libxml extension , and although everything compiles, I ended with a broken PHP. Can you give a bit more details on what is broken? Does it mean there's a problem on Windows too, since Windows d

[PHP-DEV] [PATCH] array_get()

2007-09-10 Thread Andrew Shearer
Here's a patch against HEAD that implements the array_get function previously suggested on this list. I also attached a test suite, which should go in ext/standard/tests/array/array_get.phpt. Feedback is welcome. Independently, someone else had posted the same idea as a feature request fo

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

2007-09-10 Thread Andrew Shearer
Let me try that again with the files attached. I'll leave out the full original proposal this time. On Sep 10, 2007, at 6:12 PM, Andrew Shearer wrote: Here's a patch against HEAD that implements the array_get function previously suggested on this list. I also attached a test suite, which

[PHP-DEV] PHAR was PHP 5.3 Suggested Feature List

2007-09-10 Thread Andi Gutmans
Yes, I will ask Dmitry to share it with you. There's huge value in having a standard format which existing tools can already manipulate. It doesn't have to be tar but IMO it should be something standard. Andi > -Original Message- > From: Gregory Beaver [mailto:[EMAIL PROTECTED] >

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Andrei Zmievski
Ilia Alshanetsky wrote: List of Feature Ideas 1) Backport the namespaces patch for PHP 6 -1 2) Symlink the intl extension from PECL, but leave it disabled by default as is the case with all extensions dependent on external libs 1 3) Apply the Late Static Bind

RE: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Andi Gutmans
> -Original Message- > From: Pierre [mailto:[EMAIL PROTECTED] > Sent: Monday, September 10, 2007 1:56 PM > To: Andi Gutmans > Cc: Ilia Alshanetsky; PHP Developers Mailing List > Subject: Re: [PHP-DEV] PHP 5.3 Suggested Feature List > > For the record here, a cache is planed once we have a

Re: [PHP-DEV] PHP_FALIAS()

2007-09-10 Thread BuildSmart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sep 10, 2007, at 16:15:35, Adam Maccabee Trachtenberg wrote: On Mon, 10 Sep 2007, BuildSmart wrote: Perhaps the best approach would be to mimic the ext/mysql functions and feed them to ext/mysqli function rather than aliasing them directly but

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Gregory Beaver
Andi Gutmans wrote: >> 14) Link phar extension from PECL into core (possibly enabling it by >> default) >> >> 10 -1 > > -1 (I'd prefer a standard format which can be manipulated with standard > tools (also some tests we did with TAR format we got much better > performance

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Pierre
On 9/10/07, Andi Gutmans <[EMAIL PROTECTED]> wrote: > See below: > > > -Original Message- > > From: Ilia Alshanetsky [mailto:[EMAIL PROTECTED] > > Sent: Sunday, September 09, 2007 10:08 AM > > To: PHP Developers Mailing List > > Subject: [PHP-DEV] PHP 5.3 Suggested Feature List > > > > > >

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Cristian Rodriguez
On 9/9/07, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote: > 12) Merge the GCC 4 -fvisibility patch > That patch is a very good idea, but it does not work there are symbols that are no lomger exported on libxml extension , and although everything compiles, I ended with a broken PHP. -- http://www.

RE: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Andi Gutmans
See below: > -Original Message- > From: Ilia Alshanetsky [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 09, 2007 10:08 AM > To: PHP Developers Mailing List > Subject: [PHP-DEV] PHP 5.3 Suggested Feature List > > > List of Feature Ideas > > > 1) Backport

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

2007-09-10 Thread Marcus Boerger
Hello Zoe, %s = [\n]+? If that affects any test we have to fix those :-) marcus Monday, September 10, 2007, 10:02:48 PM, you wrote: > Marcus Boerger wrote: >> Hello Zoe, >> >> now i get the issue. It grabbs more than one line! This means >> run-tests.php has to be fixed. The whole thing is

Re: [PHP-DEV] PHP_FALIAS()

2007-09-10 Thread Adam Maccabee Trachtenberg
On Mon, 10 Sep 2007, BuildSmart wrote: > Perhaps the best approach would be to mimic the ext/mysql functions > and feed them to ext/mysqli function rather than aliasing them > directly but maybe a performance trade-off might be encountered as a > result. Based on my experiences, if you're keeping

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Stanislav Malyshev
Without it, we mix 2 different concepts, we also make it needlessly hard for library maintainers to leverage E_STRICT. As a result library maintainers have the choice of either jumping to every new minor version as the minimum requirement or more or less ignoring E_STRICT all together. OK, I u

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

2007-09-10 Thread Zoe Slattery
Marcus Boerger wrote: Hello Zoe, 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

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Keryx Web
Lukas Kahwe Smith skrev: Stanislav Malyshev wrote: 10) Split off deprecation from E_STRICT into E_DEPRECATED 0. Why do we *need* it again? Without it, we mix 2 different concepts, we also make it needlessly hard for library maintainers to leverage E_STRICT. As a result library maintainers

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

2007-09-10 Thread Marcus Boerger
Hello Zoe, 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. marcus Monday, September 10, 2007, 6:03:54 PM, you wrote: > Hi Marcus >> >> why is t

Re: [PHP-DEV] PHP_FALIAS()

2007-09-10 Thread BuildSmart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sep 10, 2007, at 14:08:43, Hartmut Holzgraefe wrote: BuildSmart wrote: Thanks for the response, OK I think I can manage that with ease, what I'm contemplating to do is create a mysql_alias extension that aliases the mysql extension functions

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Marcus Boerger
Hello Ilia, Monday, September 10, 2007, 3:08:57 PM, you wrote: > Hello Ilia, > Sunday, September 9, 2007, 7:07:37 PM, you wrote: >> 6) Remove safe_mode, register_globals and magic_quotes > remove register_globals only, rest for 6.* Actually we should get E_DEPRECATED and mark all as deprecate

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Stephan Schmidt
Hi, Ilia Alshanetsky wrote: List of Feature Ideas 1) Backport the namespaces patch for PHP 6 +1 2) Symlink the intl extension from PECL, but leave it disabled by default as is the case with all extensions dependent on external libs 0 3) Apply the Late Static B

Re: [PHP-DEV] PHP_FALIAS()

2007-09-10 Thread Hartmut Holzgraefe
BuildSmart wrote: Thanks for the response, OK I think I can manage that with ease, what I'm contemplating to do is create a mysql_alias extension that aliases the mysql extension functions to the mysqli equivalents uh PHP_FALIAS() would only work for functions having exactly the same para

[PHP-DEV] Re: PHP 5.3 Suggested Feature List

2007-09-10 Thread emo
My bad, please ignore the comment. Thanks Greg. Regards, Emil Ivanov Gregory Beaver wrote: emo wrote: 14) Link phar extension from PECL into core (possibly enabling it by default) 10-1 +1 (Depends how it will cope with namespaces?) ?? Perhaps you're thinking of different co

[PHP-DEV] Re: PHP 5.3 Suggested Feature List

2007-09-10 Thread Gregory Beaver
emo wrote: >> 14) Link phar extension from PECL into core (possibly enabling it by >> default) >> >> 10-1 > > +1 (Depends how it will cope with namespaces?) ?? Perhaps you're thinking of different code? pecl/phar is unaffected by any changes to the PHP language syntax. Its sole

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

2007-09-10 Thread Marcus Boerger
Hello Stanislav, me neither, I just wanted to clarify :-) marcus Monday, September 10, 2007, 6:48:14 PM, you wrote: >> I guess the point is that ppl might want to have interfaces use different >> approach than they want class to. For instance classes get filenames with >> just the classname f

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

2007-09-10 Thread Stanislav Malyshev
I guess the point is that ppl might want to have interfaces use different approach than they want class to. For instance classes get filenames with just the classname followed by '.php' while interfaces might get a prefix 'i_' or a different extension like '.inc'. Well, since now autoloader does

Re: [PHP-DEV] PHP 5.3 Suggested Feature List - Off Vote comments.

2007-09-10 Thread Johannes Schlüter
On Monday 10 September 2007 02:43:52 pm Pierre wrote: > On 9/10/07, Lester Caine <[EMAIL PROTECTED]> wrote: > > PLEASE can we have an assessment of how this new list of features will > > affect users porting from PHP4 rather than simply assuming that this is > > just a simple 'upgrade' from PHP5.2.

Re: [PHP-DEV] PHP_FALIAS()

2007-09-10 Thread Johannes Schlüter
Hi, On Monday 10 September 2007 03:31:32 pm BuildSmart wrote: > Thanks for the response, OK I think I can manage that with ease, what > I'm contemplating to do is create a mysql_alias extension that > aliases the mysql extension functions to the mysqli equivalents since > a lot of scripts and pack

Re: [PHP-DEV] PHP_FALIAS()

2007-09-10 Thread David Coallier
On 9/10/07, BuildSmart <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On Sep 10, 2007, at 08:53:29, Marcus Boerger wrote: > > > Hello BuildSmart, > > > > If you have the correct includes in place, sure. > > > > marcus > > Thanks for the response, OK I think I c

Re: [PHP-DEV] PHP_FALIAS()

2007-09-10 Thread BuildSmart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sep 10, 2007, at 08:53:29, Marcus Boerger wrote: Hello BuildSmart, If you have the correct includes in place, sure. marcus Thanks for the response, OK I think I can manage that with ease, what I'm contemplating to do is create a mysql_al

Re: [PHP-DEV] Re: Bug 40479

2007-09-10 Thread Danny Carroll
Tomas Kuliavas wrote: > If you don't use this option, PHP will look for it in > /home/danny/php5/lib/. Config file path option is useful, if you have to > recompile php several times and want to preserve your php.ini. then you > just set it outside of --prefix and delete old php install before > i

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Marcus Boerger
Hello Ilia, Sunday, September 9, 2007, 7:07:37 PM, you wrote: > 1) Backport the namespaces patch for PHP 6 +1 > 2) Symlink the intl extension from PECL, but leave it disabled by +1 > 3) Apply the Late Static Binding Patch +1 > 4) Implement David's Circular Garbage collection patch +1 > 5)

Re: [PHP-DEV] constant folding optimization

2007-09-10 Thread Marcus Boerger
Hello Dmitry, This is a good catch. I gave it a bit of attention some time ago and it is not trivial to fix. However code often improves from this. Most of all ofeten enough you end up with some consts that would in other languages be enums like: class Week { const Monday = 0; const Tuesday

Re: [PHP-DEV] PHP bugs in Turkish locale

2007-09-10 Thread Tomas Kuliavas
>when developing a patch like this, it is more readable to do typical > min max notation to ease readability. That is change: > if (91 > i && i > 64) { > To: > if (64 < i && i < 91) { > > the real issue here is that if we fix it this way we break other locales. How they break? Do you want to s

Re: [PHP-DEV] PHP_FALIAS()

2007-09-10 Thread Marcus Boerger
Hello BuildSmart, If you have the correct includes in place, sure. marcus Saturday, September 8, 2007, 11:36:15 AM, you wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > I've seen several examples of PHP_FALIAS within a single module, I'm > wondering if it's possible to have one m

Re: [PHP-DEV] Patch for macros for tracking refcount and is_ref

2007-09-10 Thread Marcus Boerger
Hello Andi, Cristian, David, agreeed. We should put this into 5.3 where we'll break BC anyway. Then for 5.3 and HEAD people will have enough time to adapt (given current release plans. The only thing left to think of is whether it makes sense to use '__' prefix for internal stuff just like we do

Re: [PHP-DEV] PHP bugs in Turkish locale

2007-09-10 Thread Marcus Boerger
Hello Tomas, when developing a patch like this, it is more readable to do typical min max notation to ease readability. That is change: if (91 > i && i > 64) { To: if (64 < i && i < 91) { the real issue here is that if we fix it this way we break other locales. marcus Thursday, September 6,

Re: [PHP-DEV] PHP 5.3 Suggested Feature List - Off Vote comments.

2007-09-10 Thread Pierre
On 9/10/07, Lester Caine <[EMAIL PROTECTED]> wrote: > PLEASE can we have an assessment of how this new list of features will affect > users porting from PHP4 rather than simply assuming that this is just a simple > 'upgrade' from PHP5.2.X. > > As discussion has already been shouted down on the vote

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

2007-09-10 Thread Marcus Boerger
Hello Stanislav, Saturday, September 8, 2007, 1:50:24 AM, you wrote: >> Actually, an autoload handler should never emit errors or throw >> exceptions. With handlers registered through SPL, it is already the >> case. When using an __autoload() functions, raising an error when a >> symbol is not fo

[PHP-DEV] PHP 5.3 Suggested Feature List - Off Vote comments.

2007-09-10 Thread Lester Caine
PLEASE can we have an assessment of how this new list of features will affect users porting from PHP4 rather than simply assuming that this is just a simple 'upgrade' from PHP5.2.X. As discussion has already been shouted down on the vote list ... we have to get people to convert *TO* PHP5 befo

Re: [PHP-DEV] Re: Bug 40479

2007-09-10 Thread Tomas Kuliavas
>>> I need some assistance gathering the information that might be most >>> helpful. >>> >>> This week sometime I will grab a snapshot and install it. Normally I >>> install php via the FreeBSD ports collection. I am happy to build a >>> custom version but I would like to make sure that I do not

Re: [PHP-DEV] Patch for macros for tracking refcount and is_ref

2007-09-10 Thread Marcus Boerger
Hello David, Wednesday, September 5, 2007, 4:19:05 AM, you wrote: > On 9/5/07, Marcus Boerger <[EMAIL PROTECTED]> wrote: >> What is the problem with those objects? Basically there are at least three >> seperated memory areas involved. First the zend_object container, the real >> object and one or

Re: [PHP-DEV] applictaion for a cvs account

2007-09-10 Thread Marcus Boerger
Hello Jiania, as said, you're supposed to present some patches first on internals@ and if the first bunch looks fine, you'll get an account. For starting to work on SPL and sending patches you do not need a cvs account. We all started without an account. marcus Saturday, September 8, 2007, 6:3

[PHP-DEV] Re: Bug 40479

2007-09-10 Thread Danny Carroll
Antony Dovgal wrote: > On 09.09.2007 12:41, Danny Carroll wrote: >> Anthony, >> >> I need some assistance gathering the information that might be most helpful. >> >> This week sometime I will grab a snapshot and install it. Normally I >> install php via the FreeBSD ports collection. I am happy to

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Raghubansh
> 1) Backport the namespaces patch for PHP 6 1 > 2) Symlink the intl extension from PECL, but leave it disabled by default as is the case with all extensions dependent on external libs 0 > 3) Apply the Late Static Binding Patch 1 > 4) Implement David's Circular Ga

RE: [PHP-DEV] constant folding optimization

2007-09-10 Thread Dmitry Stogov
Now we support "const FOO = BAR;" where BAR is another constant (but BAR is also a simple expression). I don't see how can we support constant expressions and don't support constants in them. Thanks. Dmitry. > -Original Message- > From: Stanislav Malyshev [mailto:[EMAIL PROTECTED] > Sent

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Lukas Kahwe Smith
Ilia Alshanetsky wrote: 1) Backport the namespaces patch for PHP 6 +1 3) Apply the Late Static Binding Patch +1 5) Implement Sqlite3 support via the ext/sqlite extension (patch is already available) +1 6) Remove safe_mode, register_globals and magic_quotes -1 7) Introduce mysqlind

Re: FW: [PHP-DEV] Patch for macros for tracking refcount and is_ref

2007-09-10 Thread David Wang
It's been about 3 days since the last comment on the patch itself on this thread and nearly a week since the patch was submitted for comment. Until a patch is committed, I can't publish a patch for the GC, and until that's published, there's really nothing to debate about yet. :) I can't commit a

[PHP-DEV] PHP 6 Bug Summary Report

2007-09-10 Thread internals
PHP 6 Bug Database summary - http://bugs.php.net Num Status Summary (58 total including feature requests) ===[*General Issues]== 26771 Suspended register_tick_funtions crash under threaded webservers 27372 Assigned parse error loadin

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Pierre
Hi Rob, On 9/10/07, Rob Richards <[EMAIL PROTECTED]> wrote: > > 8) OpenID enabling patch for OpenSSL and PHP 5 > Which one? (from the looks you are refering to Wez's origional) I though > it was already decided a while back that the patch from Dmitry was going in. For what we discussed, Dmitry's

[PHP-DEV] PHP 4 Bug Summary Report

2007-09-10 Thread internals
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (632 total including feature requests) ===[*Programming Data Structures]= 40496 Assigned Test bug35239.phpt still fails (works in PHP 5) =

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Rob Richards
1) Backport the namespaces patch for PHP 6 0 2) Symlink the intl extension from PECL, but leave it disabled by default as is the case with all extensions dependent on external libs 1 3) Apply the Late Static Binding Patch 1 4) Implement David's Circular Garbage collection patch 0 5) I

Re: [PHP-DEV] PHP 5.3 Suggested Feature List

2007-09-10 Thread Lukas Kahwe Smith
Stanislav Malyshev wrote: 10) Split off deprecation from E_STRICT into E_DEPRECATED 0. Why do we *need* it again? E_STRICT is about general coding style that we feel should be encouraged. Its sort of the comp sci teacher in a box. E_DEPRECATED is things we drop are replace. People that ne

Re: [PHP-DEV] rfc1867.c compatibility question [spoke too soon]

2007-09-10 Thread BuildSmart
On Sep 10, 2007, at 01:31:54, BuildSmart wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sep 10, 2007, at 01:01:19, Christian Stocker wrote: On 10.9.2007 6:53 Uhr, BuildSmart wrote: On Sep 10, 2007, at 24:41:47, Christian Stocker wrote: On 10.9.2007 3:53 Uhr, BuildSmart wrot

[PHP-DEV] Re: PHP 5.3 Suggested Feature List

2007-09-10 Thread emo
Ilia Alshanetsky wrote: Its been about a week since RFS for features to go into 5.3 has gone out and while there was not a "flood" of ideas there is a substantial list of key changes people would like to go into this release. I've compiled a list of all of the suggestions I've received, they ar

Re: [PHP-DEV] constant folding optimization

2007-09-10 Thread Stanislav Malyshev
In case we support constant expressions, we should support constants in such expressions, but the values of these constants may be unknown in compile time. I don't see why we should support constants in such expressions. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://

RE: [PHP-DEV] [patch] Late static bindings (LSB)

2007-09-10 Thread Dmitry Stogov
Attached. Thanks. Dmitry. > -Original Message- > From: Etienne Kneuss [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 09, 2007 11:02 PM > To: Dmitry Stogov > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] [patch] Late static bindings (LSB) > > > Hello, > > sorry for the late

RE: Re: [PHP-DEV] constant folding optimization

2007-09-10 Thread Dmitry Stogov
I see a problem with this idea. In case we support constant expressions, we should support constants in such expressions, but the values of these constants may be unknown in compile time. Delaying constant initialization for expressions in general will require keeping of Abstaract Syntax Tree