Re: [PHP-DEV] Throwing E_DEPRECATED on startup

2009-04-22 Thread Kalle Sommer Nielsen
2009/4/22 Hannes Magnusson : > > There are couple of issues with throwing errors at startup: > 1) They are thrown so damn early that the user will never see them > 2) run-tests.php gets very confused and starts expecting HTTP headers > in the EXPECT section > > If we could delay the checks until af

[PHP-DEV] Re: [PECL-DEV] Re: [PDO] Breaking the PDO API

2009-04-22 Thread Johannes Schlüter
Hi, On Wed, 2009-04-22 at 23:33 +0200, p...@beccati.com wrote: > I confirm there's no need for API changes. I will commit the fix as soon as > is't thoroughly tested, hopefully by the end of tomorrow. Great! > Sorry for the delay, but luck isn't on my side lately. I've lost all my > uncommitted

[PHP-DEV] Re: [PECL-DEV] Re: [PDO] Breaking the PDO API

2009-04-22 Thread php
On Wed, 22 Apr 2009 00:33:18 +0200, Johannes Schlüter wrote: > On Thu, 2009-04-16 at 01:58 +0200, Matteo Beccati wrote: >> Wez Furlong ha scritto: >> > Any objection to fixing this in the drivers themselves (as I >> > suggested)? >> > It seems like the easiest fix, and doesn't introduce a massive

[PHP-DEV] adding apache2 ErrorDocument 500 support

2009-04-22 Thread Jeremy Jackson
In looking into setting custom ErrorDocument with apache2, I see from NEWS file: 30 Aug 2007, PHP 5.2.4 - Changed error handler to send HTTP 500 instead of blank page on PHP errors. (Dmitry, Andrei Nigmatulin) And indeed it seems that the PHP core now sets it in main/main.c line 985, but the SA

Re: [PHP-DEV] Re: [PATCH] double to long conversion change

2009-04-22 Thread Stanislav Malyshev
Hi! Really, I don't understand what it's going to fix (the need of preserving low bits looks strange for me). From what I understand the idea of the patch is what we are doing if we try to convert double that's too big for long into long (please correct me if I'm talking nonsense here). We'd

Re: [PHP-DEV] Re: [PATCH] double to long conversion change

2009-04-22 Thread Dmitry Stogov
I looked into it some time ago. Really, I don't understand what it's going to fix (the need of preserving low bits looks strange for me). Also it breaks ~30 tests. Thanks. Dmitry. Johannes Schlüter wrote: On Fri, 2009-04-10 at 14:45 -0500, Matt Wilmas wrote: Hi Dmitry, I finally updated the