RE: [PHP-DEV] Constants in namesapces

2007-08-29 Thread Dmitry Stogov
Hi Richard, "const" is usefull to declare "compile-time" constants in current scope (class or namespace). The syntax is the same. It is not allowed to use functions and variables in such declarations (this ability was proposed but then it was removed before commit). define() is a runtime function

Re: [PHP-DEV] PHP6 - rar extension

2007-08-29 Thread Pierre
On 8/30/07, BuildSmart <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On Aug 29, 2007, at 23:15:26, BuildSmart wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > I've fixed the rar extension, was a no-brainer, a one-line change, > > not worthy

Re: [PHP-DEV] What should be in 5.3?

2007-08-29 Thread Cristian Rodriguez
On 8/29/07, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > What sort of script did you save a lot of memory on? It takes some very > specific code for you to see noticable savings with this. I used very specific code otherwise there is no way to test if the particular enhacement work ;) I also used

Re: [PHP-DEV] What should be in 5.3?

2007-08-29 Thread Pierre
On 8/29/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > > Then we should make sure that the garbage collector goes into HEAD ASAP, > > should we not? > > Does anybody uses HEAD in production on a bunch of moderate-to-heavily > loaded sites? If not, how does it matter if the patch sits in HEAD

Re: [PHP-DEV] What should be in 5.3?

2007-08-29 Thread Rasmus Lerdorf
Cristian Rodriguez wrote: > On 8/27/07, Andi Gutmans <[EMAIL PROTECTED]> wrote: >> I think we're still far away from a working garbage collector which is >> production quality. > > > Im sure it has bugs, but last time I tested the "circular" repository > it was working really fine and the save of

Re: [PHP-DEV] What should be in 5.3?

2007-08-29 Thread Stanislav Malyshev
Then we should make sure that the garbage collector goes into HEAD ASAP, should we not? Does anybody uses HEAD in production on a bunch of moderate-to-heavily loaded sites? If not, how does it matter if the patch sits in HEAD or not, one that wishes to test it can do that. I'm not against

Re: [PHP-DEV] What should be in 5.3?

2007-08-29 Thread Andrey Hristov
Hi Andi, Andi Gutmans wrote: > Hi all, > >>From my point of view I think we can make a really good PHP 5.3 release > pretty quickly as long as we are careful about the scope. There's a lot > of good work which is low risk which we can easily roll into it. There > are high risk items like garbage

Re: [PHP-DEV] What should be in 5.3?

2007-08-29 Thread Sebastian Bergmann
Andi Gutmans schrieb: > Sebastian, Andi, > I do think though that we need an opportunity to review it, test it & > benchmark it. and this is exactly what I want to faciliate with having David's code merged into HEAD: exposing it to more people for increased testing. David developed his garb

Re: [PHP-DEV] Testing math functions

2007-08-29 Thread Zoe Slattery
Pierre wrote: On 8/23/07, Zoe Slattery <[EMAIL PROTECTED]> wrote: Hi - I've writing a few tests for the math extension and have a question about floating point precision. Here's a small example: --TEST-- Test return type and value for expected input sin() --INI-- precision = 14 --FILE-- --

RE: Re: [PHP-DEV] What should be in 5.3?

2007-08-29 Thread Andi Gutmans
Sebastian, Just so you guys don't get the wrong idea, I have a garbage collector book sitting on my shelf which I bought 2-3 years ago as I was thinking of implementing this. Unfortunately I hit some issues and edge cases and didn't have enough time to spend on this. So I'm definitely not against a

Re: [PHP-DEV] Testing math functions

2007-08-29 Thread Zoe Slattery
Richard Lynch wrote: On Thu, August 23, 2007 10:28 am, Zoe Slattery wrote: Hi - I've writing a few tests for the math extension and have a question about floating point precision. Here's a small example: --TEST-- Test return type and value for expected input sin() --INI-- precision = 14 --F

Re: [PHP-DEV] What should be in 5.3?

2007-08-29 Thread Sebastian Bergmann
Andi Gutmans schrieb: > This is based on our experience with making changes in the memory > manager (significantly smaller changes than this one) and how long it > takes to stabilize them. Then we should make sure that the garbage collector goes into HEAD ASAP, should we not? -- Sebastian Berg

[PHP-DEV] self:: or parent:: in an inherited class property declaration

2007-08-29 Thread Robin Fernandes
Hi all, There has been some discussion on this list about late static binding and the 'self' & 'parent' keywords. I'm looking to understand the meaning of self:: and parent:: when used in the declaration of an inherited class property or constant. Based on discussions here and on comments to bugs

RE: Re: [PHP-DEV] What should be in 5.3?

2007-08-29 Thread Andi Gutmans
This is based on our experience with making changes in the memory manager (significantly smaller changes than this one) and how long it takes to stabilize them. Andi > -Original Message- > From: Jani Taskinen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 29, 2007 1:58 AM > To: Crist

[PHP-DEV] PHP-6 / Mac OS X

2007-08-29 Thread BuildSmart
It's a shame that icu is generated with a lot of cruft and while it can be built in a static library (archive) format, it has linking issues because the build itself is a hack. It seems that icu is a difficult build for shared libraries (impossible for the average user) but shared libraries

Re: Re: [PHP-DEV] What should be in 5.3?

2007-08-29 Thread Jani Taskinen
On Tue, 2007-08-28 at 17:46 -0400, Cristian Rodriguez wrote: > On 8/27/07, Andi Gutmans <[EMAIL PROTECTED]> wrote: > > I think we're still far away from a working garbage collector which is > > production quality. > > Im sure it has bugs, but last time I tested the "circular" repository > it was w