Re: [PHP-DEV] Backward Compatibility RFC - was Re: [PHP-DEV] Re: is_a() - again - a better fix

2011-09-24 Thread Alan Knowles
Sorry, never even noticed instanceof got fixed (in 5.1) with undefined classes. Since it did not work when introduced, i just assumed it would stay that way... Anyway, It's a pretty good justification for phased "Announced" long term depreciation plan in 5.4 is_a() usage called without

Re: [PHP-DEV] Backward Compatibility RFC - was Re: [PHP-DEV] Re: is_a() - again - a better fix

2011-09-24 Thread Stas Malyshev
Hi! On 9/24/11 7:00 PM, Alan Knowles wrote: Obviously I'd be keen to see this fix applied to 5.4 as the standard use case for is_a() is mixed return testing as '$x instanceof "somestring"' does not work. There is no reason to do $x instanceof "somestring" as you can do just $x instanceof Clas

[PHP-DEV] Backward Compatibility RFC - was Re: [PHP-DEV] Re: is_a() - again - a better fix

2011-09-24 Thread Alan Knowles
Obviously I'd be keen to see this fix applied to 5.4 as the standard use case for is_a() is mixed return testing as '$x instanceof "somestring"' does not work. I've drafted up a BC RFC, if anyone want to contribute - feel free to edit.. https://wiki.php.net/rfc/backwards_compatibility? The "id

Re: [PHP-DEV] [PATCH] Autoguessing TEST_PHP_EXECUTABLE if none is provided in run-tests.php

2011-09-24 Thread Felipe Pena
2011/9/8 Alexey Shein : > Hello! > I've made some improvements to run-tests.php: > 1) Autoguessing TEST_PHP_EXECUTABLE and TEST_PHP_CGI_EXECUTABLE if > they're not provided, i.e. assume they have value 'auto'. You can > still pass your own value as usual. > 2) Added option -n (use no php.ini) to th

Re: [PHP-DEV] Re: is_a() - again - a better fix

2011-09-24 Thread Hannes Magnusson
On Fri, Sep 23, 2011 at 20:38, Christopher Jones wrote: > > > On 09/23/2011 11:33 AM, Rasmus Lerdorf wrote: >> >> On 09/23/2011 08:20 PM, Christopher Jones wrote: >>> >>> >>> On 09/23/2011 11:17 AM, Rasmus Lerdorf wrote: On 09/23/2011 07:13 PM, Christopher Jones wrote: > > >