Re: [PHP-DEV] PHP 5.3 == PHP 6?

2008-04-11 Thread Lester Caine
Wietse Venema wrote: Johannes Schl�ter: Hi, On Fri, 2008-04-11 at 16:07 -0400, (Wietse Venema) wrote: According statistics at nexen.net, PHP4 is now 68% of the installed base (8 years of deployment) and PHP5 is 32% (almost 4 years). The lesson I draw from this is that a major release every cou

Re: [PHP-DEV] '1.8' == 1.8 can return false

2008-04-11 Thread Todd Ruth
Clicked Send too fast. For the suggestion box, let me instead suggest that for string $s and float $f: $s == $f (a string being compared to a float) be the same as (string)(float)$s === (string)$f instead of (float)$s === $f (as it is today if my understanding is correct) Since the current beh

Re: [PHP-DEV] '1.8' == 1.8 can return false

2008-04-11 Thread Todd Ruth
I'd take that as proof of a design flaw in having php doing string to float comparison by casting the string to float instead of the float to a string, but you've got me - the documentation does say the string will be converted to a float and not vice-versa. If it wouldn't be a bad BC break, I th

Re: [PHP-DEV] '1.8' == 1.8 can return false

2008-04-11 Thread Rasmus Lerdorf
There is no bug here. Please read: http://docs.sun.com/source/806-3568/ncg_goldberg.html -Rasmus Todd Ruth wrote: I'm thinking there must be a bug in the heart of php causing this. I'll debug it, but I haven't looked at php source code in a few years and would like a tip as to which files ar

[PHP-DEV] '1.8' == 1.8 can return false

2008-04-11 Thread Todd Ruth
I'm thinking there must be a bug in the heart of php causing this. I'll debug it, but I haven't looked at php source code in a few years and would like a tip as to which files are involved in evaluating "==". Here is a fragment from my code and the output: ... print "\n"; var_dump($max); var_dum

Re: [PHP-DEV] PHPDOC and SPL Documentation

2008-04-11 Thread Antony Dovgal
On 11.04.2008 23:09, Ryan Panning wrote: David Coallier wrote: The only thing that Alexey asked was if there was some regenerated docs. Please, if you feel like you still have problems with SPL in the core or any other problems with documentation of extensions because of it's documentation, just

Re: [PHP-DEV] PHP 5.3 == PHP 6?

2008-04-11 Thread Antony Dovgal
On 11.04.2008 23:30, Ryan Panning wrote: I have been wondering the answer to this question for a while now. A LOT of stuff has been backported from PHP 6 to PHP 5.3. So much in fact, why don't you just call PHP 5.3 version 6? What major new features are left for PHP 6? The big one I can think

Re: [PHP-DEV] PHP 5.3 == PHP 6?

2008-04-11 Thread Antony Dovgal
On 12.04.2008 00:07, Wietse Venema wrote: According statistics at nexen.net, PHP4 is now 68% of the installed base (8 years of deployment) and PHP5 is 32% (almost 4 years). The lesson I draw from this is that a major release every couple years would heavily fragment the installed base, and compli

Re: [PHP-DEV] spl documentation

2008-04-11 Thread Gregory Beaver
Philip Olson wrote: > >>> On 11/04/2008, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote: I noticed, that http://www.php.net/~helly/php/ext/spl/was updated almost a year ago. Is the newer version available anywhere? >>> >>> Good point,

Re: [PHP-DEV] PHP 5.3 == PHP 6?

2008-04-11 Thread Wietse Venema
Johannes Schl?ter: > Hi, > > On Fri, 2008-04-11 at 16:07 -0400, (Wietse Venema) wrote: > > According statistics at nexen.net, PHP4 is now 68% of the installed > > base (8 years of deployment) and PHP5 is 32% (almost 4 years). The > > lesson I draw from this is that a major release every couple yea

Re: [PHP-DEV] PHP 5.3 == PHP 6?

2008-04-11 Thread Johannes Schlüter
Hi, On Fri, 2008-04-11 at 16:07 -0400, (Wietse Venema) wrote: > According statistics at nexen.net, PHP4 is now 68% of the installed > base (8 years of deployment) and PHP5 is 32% (almost 4 years). The > lesson I draw from this is that a major release every couple years > would heavily fragment the

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Jarismar Chaves da Silva
I've compiled with all extensions I use on my project. phpinfo() PHP Version => 5.2.6RC5 System => Windows NT JARISMAR 5.1 build 2600 Build Date => Apr 11 2008 15:50:57 = TEST RESULT SUMMARY

Re: [PHP-DEV] PHP 5.3 == PHP 6?

2008-04-11 Thread Wietse Venema
Lukas Kahwe Smith: > > On 11.04.2008, at 21:41, Ryan Panning wrote: > > Lukas Kahwe Smith wrote: > >> Native unicode is not big enough for you? > >> regards, > >> Lukas > > > > If you're looking for good PR and reviews, no. I think if you have > > very limited new features, the people writing re

Re: [PHP-DEV] PHP 5.3 == PHP 6?

2008-04-11 Thread Lukas Kahwe Smith
On 11.04.2008, at 21:41, Ryan Panning wrote: Lukas Kahwe Smith wrote: Native unicode is not big enough for you? regards, Lukas If you're looking for good PR and reviews, no. I think if you have very limited new features, the people writing reviews are going to say PHP 6 doesn't have much

Re: [PHP-DEV] PHP 5.3 == PHP 6?

2008-04-11 Thread Ryan Panning
Lukas Kahwe Smith wrote: Native unicode is not big enough for you? regards, Lukas If you're looking for good PR and reviews, no. I think if you have very limited new features, the people writing reviews are going to say PHP 6 doesn't have much new and not worth the upgrade. IMO Honestly, I

[PHP-DEV] PHPDOC and SPL Documentation

2008-04-11 Thread Ryan Panning
Sorry, guess I need to write a new message instead of replying with a different subject. David Coallier wrote: > The only thing that Alexey asked was if there was some regenerated > docs. Please, if you feel like you still have problems with SPL in the > core or any other problems with docume

Re: [PHP-DEV] PHP 5.3 == PHP 6?

2008-04-11 Thread Lukas Kahwe Smith
On 11.04.2008, at 21:30, Ryan Panning wrote: I have been wondering the answer to this question for a while now. A LOT of stuff has been backported from PHP 6 to PHP 5.3. So much in fact, why don't you just call PHP 5.3 version 6? What major new features are left for PHP 6? The big one I can

[PHP-DEV] PHP 5.3 == PHP 6?

2008-04-11 Thread Ryan Panning
I have been wondering the answer to this question for a while now. A LOT of stuff has been backported from PHP 6 to PHP 5.3. So much in fact, why don't you just call PHP 5.3 version 6? What major new features are left for PHP 6? The big one I can think of is unicode support and dropping some d

[PHP-DEV] PHPDOC and SPL Documentation

2008-04-11 Thread Ryan Panning
David Coallier wrote: The only thing that Alexey asked was if there was some regenerated docs. Please, if you feel like you still have problems with SPL in the core or any other problems with documentation of extensions because of it's documentation, just start another thread. This one should be

Re: [PHP-DEV] spl documentation

2008-04-11 Thread David Coallier
> > I think having core module that is documented by doxygen is a shame. And if > there's anybody working on docs, the work should be done first on official > docs in the manual, which right now are in the "virtually non-existent" > state. Doxygen is a nice thing but no replacement for real docume

Re: [PHP-DEV] spl documentation

2008-04-11 Thread Stanislav Malyshev
Hi! I think all effort should go into writing real documentation within the phpdoc cvs module instead of unreadable and unofficial doxygen output. I think having core module that is documented by doxygen is a shame. And if there's anybody working on docs, the work should be done first on of

Re: [PHP-DEV] intl win32, which ICU version and binaries?

2008-04-11 Thread Stanislav Malyshev
Which VC do you use? VS 2005. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] spl documentation

2008-04-11 Thread David Coallier
> > I think all effort should go into writing real documentation within the > phpdoc cvs module instead of unreadable and unofficial doxygen output. > Personally I feel the link to the doxygen output should be removed from > php.net/spl (but won't) so anyway those are my feelings. Etienne is plann

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend.c zend_execute_API.c zend_vm_def.h zend_vm_execute.h php-src NEWS

2008-04-11 Thread Dmitry Stogov
Hi Derick, Sorry, but I think mainly about PHP performance, and of course I didn't know that you trace return_values it in xdebug. After the patch, in case if return value is not used we set EG(return_value_ptr_ptr) to NULL before call to nested execute(). I assume you can just check for (EG(

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Pierre Joye
On Fri, Apr 11, 2008 at 4:12 PM, Elizabeth M Smith <[EMAIL PROTECTED]> wrote: > Steph Fox wrote: > > Hi Gwynne, > > > >> I'd be willing to take a bash at it. What's required? I have access > >> to a Windows XP SP2 machine. > > > > MSVC 6.0 - and up to date libraries for everything, which wou

Re: [PHP-DEV] spl documentation

2008-04-11 Thread Philip Olson
On 11/04/2008, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote: I noticed, that http://www.php.net/~helly/php/ext/spl/was updated almost a year ago. Is the newer version available anywhere? Good point, there're so many new things in there. Marcus? Etie

Re: [PHP-DEV] spl documentation

2008-04-11 Thread Etienne Kneuss
Hi, I've a more recent build that covers DLLists, but only Marcus is able to upload it to ~helly. I guess a new version will be online as soon as I finish documenting Heaps and priority queues. Regards On Fri, Apr 11, 2008 at 5:42 PM, David Coallier <[EMAIL PROTECTED]> wrote: > On 11/04/2008,

Re: [PHP-DEV] FPE in ld-linux-x86-64.so loading custom extension

2008-04-11 Thread Michael B Allen
On 4/11/08, Antony Dovgal <[EMAIL PROTECTED]> wrote: > On 10.04.2008 21:19, Michael B Allen wrote: > > > Can anyone recommend a method for debugging this issue? > > > > I'd start with --enable-debug and valgrind. > > > > It seems to be this one particular server. I have not been able to > > reprod

Re: [PHP-DEV] spl documentation

2008-04-11 Thread David Coallier
On 11/04/2008, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote: > I noticed, that http://www.php.net/~helly/php/ext/spl/ was updated > almost a year ago. Is the newer version available anywhere? > Good point, there're so many new things in there. Marcus? Etienne? Anyone up to do regenerate some docs

[PHP-DEV] spl documentation

2008-04-11 Thread Alexey Zakhlestin
I noticed, that http://www.php.net/~helly/php/ext/spl/ was updated almost a year ago. Is the newer version available anywhere? -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Andrey Hristov
Hi, Rui wrote: Elizabeth M Smith escreveu: Steph Fox wrote: Hi Gwynne, I'd be willing to take a bash at it. What's required? I have access to a Windows XP SP2 machine. MSVC 6.0 - and up to date libraries for everything, which would be my personal stumbling block right now. Elizabeth's prob

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Jarismar Chaves da Silva
Hi I can compile and test RC5 on windows. What extensions should be enable when compiling to test on windows ? Should all possible extenstions be compiled as shared ? Steph Fox wrote: I can do the builds until Edin appears - however before I roll the RC - what libs need to be upgraded for window

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Steph Fox
I can do the builds until Edin appears - however before I roll the RC - what libs need to be upgraded for windows? Speak now or wait until the next release ;) Everything libxml... http://ctindustries.net/libxml/ - Steph -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Rui
Elizabeth M Smith escreveu: Steph Fox wrote: Hi Gwynne, I'd be willing to take a bash at it. What's required? I have access to a Windows XP SP2 machine. MSVC 6.0 - and up to date libraries for everything, which would be my personal stumbling block right now. Elizabeth's probably best-placed

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Elizabeth M Smith
Steph Fox wrote: > Hi Gwynne, > >> I'd be willing to take a bash at it. What's required? I have access >> to a Windows XP SP2 machine. > > MSVC 6.0 - and up to date libraries for everything, which would be my > personal stumbling block right now. Elizabeth's probably best-placed to > deal with i

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Jani Taskinen
Have snapshots disappeared too? Just grab the latest snapshot and you have the RC.. --Jani On Fri, 2008-04-11 at 08:53 -0400, John Mertic wrote: > Thanks everyone! > > I'd like to provide some help too with getting the the MSI installers > built. Especially on snaps.php.net where we haven't had

[PHP-DEV] phar API update

2008-04-11 Thread Gregory Beaver
Hi, A quick update on Phar's API for those who are keeping score: 1) Phar->isWritable() now works properly and does what Liz was hoping: tells you whether you can actually modify the phar archive by looking at the archive's file perms as well as phar.readonly 2) PharFileInfo->getContent() added t

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Steph Fox
Hi Gwynne, I'd be willing to take a bash at it. What's required? I have access to a Windows XP SP2 machine. MSVC 6.0 - and up to date libraries for everything, which would be my personal stumbling block right now. Elizabeth's probably best-placed to deal with it, if she has time. - Steph

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread John Mertic
Thanks everyone! I'd like to provide some help too with getting the the MSI installers built. Especially on snaps.php.net where we haven't had a successful MSI build in over 2 months ( some permissions issues ) and I know there are some fixes for Vista and FastCGI configuration problems solved. J

Re: [PHP-DEV] CVS Account Request: mattwil

2008-04-11 Thread Matt Wilmas
Hi Marcus, Thanks! Well, I don't have a specific extension to work on, just been random stuff that I found to change in core PHP (so ZendEngine2/ and different areas of php-src/), as anyone who's seen my different patches could probably see. :-) So I don't know... I figured things wouldn't be a

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Gwynne Raskind
On Apr 11, 2008, at 8:29 AM, Ilia Alshanetsky wrote: Edin, our previous Win32 build master appears to be indisposed at the moment hence lack of win32 binaries. If someone else wants to produce them great, if not, we'll go on without them. I'd be willing to take a bash at it. What's required

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Pierre Joye
On Fri, Apr 11, 2008 at 2:37 PM, Pierre Joye <[EMAIL PROTECTED]> wrote: > On Fri, Apr 11, 2008 at 2:29 PM, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote: > > Edin, our previous Win32 build master appears to be indisposed at the > moment > > hence lack of win32 binaries. If someone else wants to pro

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Pierre Joye
On Fri, Apr 11, 2008 at 2:29 PM, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote: > Edin, our previous Win32 build master appears to be indisposed at the moment > hence lack of win32 binaries. If someone else wants to produce them great, > if not, we'll go on without them. We will manage to provide. P

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Ilia Alshanetsky
Edin, our previous Win32 build master appears to be indisposed at the moment hence lack of win32 binaries. If someone else wants to produce them great, if not, we'll go on without them. On 11-Apr-08, at 8:17 AM, Pierre Joye wrote: On Fri, Apr 11, 2008 at 2:14 PM, John Mertic <[EMAIL PROTECTE

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Pierre Joye
On Fri, Apr 11, 2008 at 2:14 PM, John Mertic <[EMAIL PROTECTED]> wrote: > What about Windows binaries? I'm not sure if we have had them for any > RC thus far... Very good point. As I do test 5.2.x on windows while developing, we really need official RC before we can go stable. As far as I remembe

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread John Mertic
What about Windows binaries? I'm not sure if we have had them for any RC thus far... John On Thu, Apr 10, 2008 at 6:42 PM, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote: > We are hard at work on setting an RC record with 5.2.6, with the RC5. > Nothing too unusual, this time just a few fairly trivial

[PHP-DEV] Discussion of zval semantics

2008-04-11 Thread Paul Biggar
Hi, I'm writing a conference paper about phc, and I discuss the PHP C API in some detail. I've included the text I intend to include in my paper below. I wonder if any of the experts on the topic see any flaws in my account. All the details come from Sarah Golemon's book, my experience with the PH

Re: [PHP-DEV] CVS Account Request: mattwil

2008-04-11 Thread Marcus Boerger
Hello Matt, I've approved your account. Now what we do for the most is giving people limited access to the extensions they work on or so. Just let us know what you'll be fixing next :-) marcus Friday, April 11, 2008, 11:18:26 AM, you wrote: > Contributing miscellaneous patches like I've been

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend.c zend_execute_API.c zend_vm_def.h zend_vm_execute.h php-src NEWS

2008-04-11 Thread Derick Rethans
On Fri, 11 Apr 2008, Dmitry Stogov wrote: > dmitryFri Apr 11 09:43:31 2008 UTC > > Modified files: (Branch: PHP_5_3) > /php-src NEWS > /ZendEngine2 zend.c zend_execute_API.c zend_vm_def.h > zend_vm_execute.h > Log: > Optimi

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Jani Taskinen
Aim for RC10! :D --Jani On Thu, 2008-04-10 at 18:42 -0400, Ilia Alshanetsky wrote: > We are hard at work on setting an RC record with 5.2.6, with the RC5. > Nothing too unusual, this time just a few fairly trivial fixes, so I > think we are finally ready for the stable release. I'd like to a

Re: [PHP-DEV] FPE in ld-linux-x86-64.so loading custom extension

2008-04-11 Thread Antony Dovgal
On 10.04.2008 21:19, Michael B Allen wrote: Can anyone recommend a method for debugging this issue? I'd start with --enable-debug and valgrind. It seems to be this one particular server. I have not been able to reproduce the issue here. What's the difference between this server and the othe

[PHP-DEV] CVS Account Request: mattwil

2008-04-11 Thread Matt Wilmas
Contributing miscellaneous patches like I've been sending to the internals list in the past. :-) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] intl win32, which ICU version and binaries?

2008-04-11 Thread Pierre Joye
On Thu, Apr 10, 2008 at 9:46 PM, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > > Ah? in 3.6/8 it takes three arguments on my architecture (win xp, > > 32bit mode with amd64). Which version do you use? > > > > I have ICU 3.6 AFAIK. Here's a quote from unistr.h: > > /** >* UChar* constructo