Re: [PHP-DEV] Questions regarding DateTimeImmutable

2013-02-16 Thread Sebastian Bergmann
Am 15.02.2013 21:49, schrieb Nikita Popov: a) The DateTimeImmutable class extends the DateTime class. Why was this done this way? Both classes are incompatible (as in the inheritance violates LSP). E.g. if you hint against DateTime, then passing in DateTimeImmutable will not work (as the

[PHP-DEV] Debug build with shared pdo_mysql module

2013-02-16 Thread Pierre Schmitz
Hi, our default PHP package includes pdo_mysql as a shared module. Creating a debug build with the same configuration seems to be impossible due to bug #60840. This bug was closed as Not a bug but it is not clear how this should be solved. Why does it only break if --enable-debug is passed and

[PHP-DEV] Configure fails due to different behavior in new versions of pkg-config

2013-02-16 Thread Pierre Schmitz
Hi, since pkg-config 0.28 pkg-config --cflags-only-I openssl returns an empty string and not a single space like it did in the previous versions. This breaks the configure script of PHP when called with ./configure --with-imap --with-imap-ssl. The relevant snippet from the configure script is:

RE: [PHP-DEV] Zend Optimizer+ Source Code now available

2013-02-16 Thread Zeev Suraski
-Original Message- From: Christopher Jones [mailto:christopher.jo...@oracle.com] Sent: Saturday, February 16, 2013 12:54 AM To: Zeev Suraski Cc: PHP internals Subject: RE: [PHP-DEV] Zend Optimizer+ Source Code now available Hi Zeev, I think people are keen to see Optimizer+

Re: [PHP-DEV] Zend Optimizer+ Source Code now available

2013-02-16 Thread Rasmus Lerdorf
On 02/16/2013 11:16 AM, Zeev Suraski wrote: - Regarding name choice, here are some: ZopCache, Cachze, RunCachze. Interesting names, I'm curious about pronunciation :) I don't think I would ever get neither the spelling nor the pronunciation of Cachze right. I like the much simpler opcache

Re: [PHP-DEV] Questions regarding DateTimeImmutable

2013-02-16 Thread Stas Malyshev
Hi! a) The DateTimeImmutable class extends the DateTime class. Why was this done this way? Both classes are incompatible (as in the inheritance They're not really incompatible. Functions that do not modify dates would work just fine. So it's not 100% compatible, which is not the same as

[PHP-DEV] Bug hunt

2013-02-16 Thread Rasmus Lerdorf
As we are nearing the final push for the 5.5 release pending the opcode cache question, could we do a bug killing push please? We have quite a few old open bugs sitting around that would be good to take a second look at. Either search https://bugs.php.net for open bugs in the areas that interest