Re: [PHP-DEV] Re: Please reconsider supporting PHP 5.2

2010-07-25 Thread Olivier B.
Le 25/07/2010 17:15, Kalle Sommer Nielsen a écrit : Hello 2010/7/25 Karoly Negyesi:' Extensions. APC to this day does not have a stable release for PHP 5.3. Neither has XCache. I am not even sure how do you imagine *anyone* much less everyone upgrading to 5.3 with a production site without

Re: [PHP-DEV] Performance problem with php

2010-06-20 Thread Olivier B.
Hi, are you using the "suhosin" patch for PHP ? I can see the same lstat behaviour with my setups, because of suhosin. But for the 8 tentative of reading, are you sure php deliver only one page here ? Olivier Le 20/06/2010 08:49, Vincenzo D'Amore a écrit : Hello, to have a performance prob

Re: [PHP-DEV] [PATCH] Raise warning first on "Maximum execution time exceeded"

2010-03-22 Thread Olivier B.
Hi, well, maybe we should provide a better behaviour for all fatal errors, no ? A frequent one I see is the fatal error for calls like "$obj->method()", when $obj is not an object. Isn't possible to allow catching of fatal errors, like other errors ? Olivier On 22/03/2010 15:51, troels knak-

Re: [PHP-DEV] Throwing an E_DEPRECATED for short_open_tag

2010-01-15 Thread Olivier B.
Hi, and why Debian still use the php module version by default ? By using the fcgi version each application can have it's own php.ini. Furthermore, it's a different problem but this will also allow use of a specific unix account for each apps. In the actual Debian's php.ini we can found about

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Olivier B.
Christian Schneider a écrit : Mark Krenz wrote: But I'm willing to bet that the majority of people are using ereg, not PCRE. I've known about PCRE in PHP for a while now, but I continue to use ereg because I thought it had better support in PHP and that it was the more "official" function.

Re: [PHP-DEV] Configuration in the php.ini file

2009-10-09 Thread Olivier B.
Hi There isn't because nobody developed that or because it is contradicted ? here we extends the PDO class to configure it like we want. For example : class ourPDO { public function __construct( $dsn, $user = NULL, $password = NULL, $options = NULL ) { $defaultOptions = array(

Re: [PHP-DEV] set_magic_quotes_runtime is still E_DEPRECATED

2009-06-16 Thread Olivier B.
Hannes Magnusson a écrit : On Tue, Jun 16, 2009 at 10:09, Pierre Joye wrote: hi, On Tue, Jun 16, 2009 at 9:46 AM, Lukas Kahwe Smith wrote: On 16.06.2009, at 05:08, Greg Beaver wrote: Hi, in PHP_5_3 if you're using set_magic_quotes_runtime(0), it raises an E_DEPRECATED. I tho

Re: [PHP-DEV] APM

2009-05-25 Thread Olivier B.
Hi, why not use reporting thought syslog ? It's standard and "central aggregation" is already available (thought TCP or databases). Olivier Patrick ALLAERT a écrit : Hi list, First, I'd like to apologize if the subject of this mail is somewhat off-topic. Davide Mendolia and me are currentl

Re: [PHP-DEV] The constant use of isset()

2009-05-12 Thread Olivier B.
Sean Coates a écrit : So if the variable is set and contains "false", we can't check it ? And near same problem for 0, empty array and empty string. How would you ever get false (the value, not the string) into a request variable? (without setting it that way after the request init, that is)

Re: [PHP-DEV] The constant use of isset()

2009-05-12 Thread Olivier B.
So if the variable is set and contains "false", we can't check it ? And near same problem for 0, empty array and empty string. But you can also use this syntax : (yes it's not very "clean") if( @$_GET['foo'] === 'bar') or if( @$_GET['foo'] === 'bar' or @$_GET['baz'] === 'bat' ) Olivie

Re: [PHP-DEV] Are there plans to allow anonymous functions as callbacks?

2009-03-04 Thread Olivier B.
Alexey Zakhlestin a écrit : On Wed, Mar 4, 2009 at 2:33 PM, Richard Quadling wrote: Hi. Quite a simple question (assuming I've got the terminology correct). Are there any plans to allow code like this (amended example taken from the array_map() documentation) ... It works. You hav

Re: [PHP-DEV] Vote: allow_call_time_pass_reference value in production INI

2009-02-19 Thread Olivier B.
Eric Stewart a écrit : allow_call_time_pass_reference = Off (Issue Warnings) Hello, +1 too. Olivier -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Invalid read at zend_objects_store_del_ref_by_handle #47353

2009-02-10 Thread Olivier B.
Hi, this is a small script to reproduce that problem : Note : that is dependent of the size of the array. With a value of 1000, I haven't got the error. I verify that problem on PHP 5.2.6 (debian lenny), php5.2-200902060730 and php5.3-200902101330. And I report a bug : http://bugs.php.net

[PHP-DEV] Invalid read at zend_objects_store_del_ref_by_handle

2009-02-06 Thread Olivier B.
Hello, I have an other memory corruption problem ; I had the problem on PHP 5.2.6 on Debian Lenny (64bits), so I re-checked with the CVS version (php5.2-200902060730). When I run my (really huge) cli-script with valgrind, I obtain this : ==22716== Invalid read of size 4 ==22716==at 0x73E