Re: [PHP-DEV] RE: [PATCH] adding stream wrappers to include_path

2008-03-13 Thread Greg Beaver
Pierre Joye wrote: Hi Dmitry, On Thu, Mar 13, 2008 at 12:25 PM, Dmitry Stogov <[EMAIL PROTECTED]> wrote: It is too difficult for extension that is not in the core distribution yet. For now I think it is simple to override zend_stream_open_function() and zend_resolve_path_function() callbacks

[PHP-DEV] Re: [PATCH] adding stream wrappers to include_path

2008-03-13 Thread Greg Beaver
Dmitry Stogov wrote: Hi Greg, In general include_path cannot contain pathes with ':' character, because it is the POSIX path separator. So I don't see a way to use stream wrappers in include_path. :( Hi Dmitry, I strongly encourage you to take a few more seconds actually looking at the messa

Re: [PHP-DEV] bug 43053 - scientific notation

2008-03-13 Thread Ryan Brothers
Antony Dovgal wrote: > In 5.2.1 string-to-double routines were changed to use BSD licensed > code (previous version was LGPLed). Thanks, I first noticed this problem in 5.2.2 though. 5.2.1 does not exhibit this behavior for me and works as I expected. Could the change be caused by something el

[PHP-DEV] Re: cvs: php-src(PHP_5_3) /main fopen_wrappers.c

2008-03-13 Thread Edward Z. Yang
Dmitry Stogov wrote: > Disable path resolution for filenames with stream wrappers > More careful check for relative pathes (./xxx and ../xxx) Hi Dmitry; does this change behavior for any code that might exist already, or does it simply "fix a bug"? -- Edward Z. YangG

Re: [PHP-DEV] bug 43053 - scientific notation

2008-03-13 Thread Edward Z. Yang
Antony Dovgal wrote: > In 5.2.1 string-to-double routines were changed to use BSD licensed > code (previous version was LGPLed). > What you see is just an unintentional side-effect of this update. Side-effect or not, it looks like the change was pretty major and some documentation should be added

Re: [PHP-DEV] Non-breaking Traits

2008-03-13 Thread Stefan Marr
Hi Joshua, have added your RFC to the wiki. (http://wiki.php.net/rfc/nonbreakabletraits) Hope it is ok for you. Think we should somehow summarize the pro and cons for our proposals. Kind Regards Stefan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.

Re: [PHP-DEV] Patch for opcode caches

2008-03-13 Thread Marcus Boerger
Hello Dmitry, Monday, March 10, 2008, 1:48:05 PM, you wrote: > Hi Marcus, >> > -Original Message- >> > From: Marcus Boerger [mailto:[EMAIL PROTECTED] >> > Sent: Sunday, March 09, 2008 3:00 PM >> > To: Dmitry Stogov >> > Cc: Derick Rethans; internals Mailing List; Andi Gutmans; Stas >> >

[PHP-DEV] Re: cvs: php-src(PHP_5_3) /ext/pdo_odbc odbc_driver.c odbc_stmt.cpdo_odbc.c php_pdo_odbc_int.h

2008-03-13 Thread Elizabeth M Smith
Johannes Schlüter wrote: > Elizabeth, > > looks like you changed the line endings with this commit, please try to > avoid that in future. And well, yes PDO in HEAD is a bit out of sync but > it would still be nice too merge stuff there :-) > > johannes > PDO_ODBC in head is REALLY out of sync,

Re: [PHP-DEV] bug 43053 - scientific notation

2008-03-13 Thread Antony Dovgal
On 03/13/2008 07:03 PM, Ryan Brothers wrote: > While I understand that the way floating point numbers are stored can vary > and shouldn't be relied upon, I'm more curious why a change was made in PHP > 5.2.2 to print certain numbers in scientific notation In 5.2.1 string-to-double routines were

[PHP-DEV] bug 43053 - scientific notation

2008-03-13 Thread Ryan Brothers
Hello, I just wanted to find out the status of bug 43053 (http://bugs.php.net/bug.php?id=43053) which is regarding inconsistent handling of floating point numbers which seems to have changed in PHP 5.2.2 and later, but I don't see it documented nor see it listed on any changelog or announcemen

[PHP-DEV] [PATCH] LSB - new patches for forward_static_call and parent:: forwarding (was: 5.3 Release Planning)

2008-03-13 Thread Mike Lively
On Tue, Mar 11, 2008 at 8:42 PM, Mike Lively <[EMAIL PROTECTED]> wrote: > If this could be overcame I think it would be relatively easy to > consolidate this code internally. I will look at it this evening and > tomorrow. > New patches can be found at http://www.digitalsandwich.com/Patches/index.

RE: [PHP-DEV] Delayed early binding patch

2008-03-13 Thread Dmitry Stogov
I've attached two tests. BTW it mighr be hard to run them because opcode caches usually don't work in CLI mode. Thanks. Dmitry. > -Original Message- > From: Robin Fernandes [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2008 1:05 PM > To: Dmitry Stogov > Cc: internals > Subject: R

Re: [PHP-DEV] RE: [PATCH] adding stream wrappers to include_path

2008-03-13 Thread Pierre Joye
Hi Dmitry, On Thu, Mar 13, 2008 at 12:25 PM, Dmitry Stogov <[EMAIL PROTECTED]> wrote: > It is too difficult for extension that is not in the core distribution > yet. > For now I think it is simple to override zend_stream_open_function() and > zend_resolve_path_function() callbacks by ext/phar a

RE: [PHP-DEV] RE: [PATCH] adding stream wrappers to include_path

2008-03-13 Thread Dmitry Stogov
It is too difficult for extension that is not in the core distribution yet. For now I think it is simple to override zend_stream_open_function() and zend_resolve_path_function() callbacks by ext/phar and provide something like phar.include_path directive. Thanks. Dmitry. > -Original Message--

Re: [PHP-DEV] RE: [PATCH] adding stream wrappers to include_path

2008-03-13 Thread Pierre Joye
On Thu, Mar 13, 2008 at 11:55 AM, Dmitry Stogov <[EMAIL PROTECTED]> wrote: > Hi Greg, > > In general include_path cannot contain pathes with ':' character, > because it is the POSIX path separator. > So I don't see a way to use stream wrappers in include_path. :( What's about quotes or escape?

[PHP-DEV] RE: [PATCH] adding stream wrappers to include_path

2008-03-13 Thread Dmitry Stogov
Hi Greg, In general include_path cannot contain pathes with ':' character, because it is the POSIX path separator. So I don't see a way to use stream wrappers in include_path. :( Thanks. Dmitry. > -Original Message- > From: Gregory Beaver [mailto:[EMAIL PROTECTED] > Sent: Friday, March

Re: [PHP-DEV] Delayed early binding patch

2008-03-13 Thread Robin Fernandes
Hi Dmitry, On 13/03/2008, Dmitry Stogov <[EMAIL PROTECTED]> wrote: > I have separated fixes and optimizations from the delayed early binding > itself and added comments about options. Now the patch must be more clear. > Thanks, that's really interesting. As mentioned on http://turl.ca/ynny, I'm

[PHP-DEV] Delayed early binding patch

2008-03-13 Thread Dmitry Stogov
Hi, I have separated fixes and optimizations from the delayed early binding itself and added comments about options. Now the patch must be more clear. The order of actual class declaration in PHP scripts doesn't follow to syntax order. Some classes might be declared at compile-time (early bindi

Re: [PHP-DEV] strtotime() in PHP 5.2.3

2008-03-13 Thread Krister Karlström
Derick Rethans wrote: On Wed, 12 Mar 2008, Krister Karlström wrote: But I still think that the best option would be if maybe strtotime() would be able to work with the default format returned by MS-SQL and just ignore the milliseconds even if they're separated by a colon and also allow the AM/

Re: [PHP-DEV] new version of check_parameters.php

2008-03-13 Thread Xuefer
an off topic suggestion, why not add a shebang #!/usr/bin/php ... -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php