[PHP-DEV] PHP 5 Bug Summary Report

2009-03-02 Thread internals
PHP 5 Bug Database summary - http://bugs.php.net/ Num Status Summary (1308 total -- which includes 814 feature requests) ===[*Directory/Filesystem functions] 46990 Assigned Passing UTF8 strings to filesystem functions produce wrong filenames

Re: [PHP-DEV] phar update

2009-03-02 Thread Igor Feghali
Hello Greg, AIX 5.3.0.0, PPC 64bit: 297 passed 214 skipped I am doing a second run right now to see if something goes different. Please let me know if you want the test log as well. Regards, Igor Feghali. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] phar update

2009-03-02 Thread Greg Beaver
Igor Feghali wrote: Hello Greg, AIX 5.3.0.0, PPC 64bit: 297 passed 214 skipped I am doing a second run right now to see if something goes different. Please let me know if you want the test log as well. Hi Igor, You can cut down on the skipped tests by building bz2, zlib, and openssl.

[PHP-DEV] Patch and test cases too for

2009-03-02 Thread Richard Quadling
Hi. Regarding http://bugs.php.net/bug.php?id=47493, I've supplied a patch to the unit tests too. Any chance this could get committed to 5.2+ Index: tests/002.phpt === RCS file: /repository/php-src/ext/json/tests/002.phpt,v

Re: [PHP-DEV] Patch and test cases too for

2009-03-02 Thread Scott MacVicar
Richard Quadling wrote: Hi. Regarding http://bugs.php.net/bug.php?id=47493, I've supplied a patch to the unit tests too. Any chance this could get committed to 5.2+ I'm too convinced of the parameter name and I don't think its something that should be added to 5.2.9 since its a feature.

Re: [PHP-DEV] phar update

2009-03-02 Thread Igor Feghali
You can cut down on the skipped tests by building bz2, zlib, and openssl. 350 passed 161 skipped By the way, phar complained Archive.php wasn't found (no PEAR installed in this machine) in `make` time. Does it affects anything ? -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] Patch and test cases too for

2009-03-02 Thread Richard Quadling
2009/3/2 Scott MacVicar sc...@macvicar.net: Richard Quadling wrote: Hi. Regarding http://bugs.php.net/bug.php?id=47493, I've supplied a patch to the unit tests too. Any chance this could get committed to 5.2+ I'm too convinced of the parameter name and I don't think its something that

Re: [PHP-DEV] Patch and test cases too for

2009-03-02 Thread Scott MacVicar
Richard Quadling wrote: 2009/3/2 Scott MacVicar sc...@macvicar.net: Richard Quadling wrote: Hi. Regarding http://bugs.php.net/bug.php?id=47493, I've supplied a patch to the unit tests too. Any chance this could get committed to 5.2+ I'm too convinced of the parameter name and I don't

[PHP-DEV] Stream chunk size

2009-03-02 Thread Jonathan Bond-Caron
Hi everyone, I have a question about streams and the maximum ‘chunk size’ of 8192. I’ve read README.STREAMS and found these slides by Wez: http://netevil.org/blog/2008/07/slides-php-streams While trying to write an Amazon S3 stream wrapper and I ran into an issue with large files:

[PHP-DEV] XOR congruentation breaks PHP

2009-03-02 Thread Kenan R Sulayman
Hey Folks! I've been writing some code for a small project and saw PHP crashing every time. The Code: ?php /* * XOR buffer v1 */ class XoRb { /* Set buffer ( - write genPad to file ) in bit */ public $buffer = 4096;

Re: [PHP-DEV] Patch and test cases too for

2009-03-02 Thread Richard Quadling
2009/3/2 Scott MacVicar sc...@macvicar.net: Richard Quadling wrote: 2009/3/2 Scott MacVicar sc...@macvicar.net: Richard Quadling wrote: Hi. Regarding http://bugs.php.net/bug.php?id=47493, I've supplied a patch to the unit tests too. Any chance this could get committed to 5.2+ I'm too

Re: [PHP-DEV] XOR congruentation breaks PHP

2009-03-02 Thread Christopher Jones
Kenan R Sulayman wrote: Hey Folks! I've been writing some code for a small project and saw PHP crashing every time. Please test the latest snapshot from http://snaps.php.net/. If the problem still exists, log a bug at http://bugs.php.net/ with version and platform details. -- Email:

Re: [PHP-DEV] Patch and test cases too for

2009-03-02 Thread Ilia Alshanetsky
I believe that this is a feature, so it would not go into 5.2, sorry. Ilia Alshanetsky On 2-Mar-09, at 11:21 AM, Richard Quadling wrote: Hi. Regarding http://bugs.php.net/bug.php?id=47493, I've supplied a patch to the unit tests too. Any chance this could get committed to 5.2+ Index:

Re: [PHP-DEV] Patch and test cases too for

2009-03-02 Thread Richard Quadling
2009/3/2 Ilia Alshanetsky i...@prohost.org: I believe that this is a feature, so it would not go into 5.2, sorry. Ilia Alshanetsky That's OK. Just like to try these things sometimes. On 2-Mar-09, at 11:21 AM, Richard Quadling wrote: Hi. Regarding

Re: [PHP-DEV] XOR congruentation breaks PHP

2009-03-02 Thread Kenan R Sulayman
Hello Christopher! It crashes now at $i = 40k ± 5k, while ( 5k ~ 0.5 second ). Rather ugly, isn't it ? Thanks, -- (c) Kenan Sulayman Freelance Designer and Programmer Life's Live Poetry 2009/3/2 Christopher Jones christopher.jo...@oracle.com Kenan R Sulayman wrote: Hey Folks! I've

Re: [PHP-DEV] phar update

2009-03-02 Thread Marcus Boerger
Hello Igor, Monday, March 2, 2009, 5:31:51 PM, you wrote: You can cut down on the skipped tests by building bz2, zlib, and openssl. 350 passed 161 skipped By the way, phar complained Archive.php wasn't found (no PEAR installed in this machine) in `make` time. Does it affects anything ?

RE: [PHP-DEV] Stream chunk size

2009-03-02 Thread Andi Gutmans
I don't see a fundamental issue why it could not be arbitrary. The only challenge which may be an issue is that this code clearly allocates the buffer on the stack for what are probably performance reasons. If you allow arbitrary chunk size and use alloca() (do_alloca()) for stack allocation you