RE: [PHP-DEV] Re: Throwing E_DEPRECATED on startup
| From: | Uwe Schindler | Date: | Tue, 30 Jun 2009 21:37:15 +0000 |
| Subject: | RE: [PHP-DEV] Re: Throwing E_DEPRECATED on startup | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44565@lists.php.net to get a copy of this message | ||
I had the same this morning when I compiled PHP on my solaris machine. The
php.ini from my system-wide lib folder was used for the tests. In my case it
claimed about the deprecated *_long_arrays setting (or something like that).
Almost no test worked until I edited my global php.ini.
Tests should use a local php.ini in the build directory.
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de
> -----Original Message-----
> From: parasane@gmail.com [mailto:parasane@gmail.com] On Behalf Of Daniel
> Brown
> Sent: Tuesday, June 30, 2009 11:31 PM
> To: Hannes Magnusson
> Cc: Kalle Sommer Nielsen; Internals
> Subject: Re: [PHP-DEV] Re: Throwing E_DEPRECATED on startup
>
> On Tue, Jun 30, 2009 at 16:30, Hannes
> Magnusson<hannes.magnusson@gmail.com> wrote:
> >
> > Now that 5.3.0 is out, are you looking into fixing run-tests.php or all
> tests?
> >
> > Like I warned about; if you enable any of these features in your
> > php.ini and then run the test suite.. there are only a handful of
> > tests that actually pass.
>
> Indeed. Going to install it on the CA2 mirror server this morning
> brought up a ton of failed and skip messages, which I mentioned to
> Hannes. Here's the grep'd output:
>
> ====
>
> root@december [/dls/php/php-5.3.0]# make test | grep PASS
> PHP Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3
> and greater in Unknown on line 0
> PHP Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3
> and greater in Unknown on line 0
> PHP Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3
> and greater in Unknown on line 0
> PASS Error messages are shown [tests/run-test/test006.phpt]
> PASS Testing $argc and $argv handling (cli) [tests/basic/012.phpt]
> PASS Bug #28213 (crash in debug_print_backtrace in static methods)
> [tests/lang/bug28213.phpt]
> PASS Bug #39763 (filter applies magic_quotes twice in parse_str())
> [ext/filter/tests/bug39763.phpt]
> PASS Test phpinfo() displays gettext support
> [ext/gettext/tests/gettext_phpinfo.phpt]
> PASS Bug #43293 (Multiple segfaults in getopt())
> [ext/standard/tests/general_functions/bug43293_3.phpt]
> PASS Test get_magic_quotes_gpc() function
> [ext/standard/tests/general_functions/get_magic_quotes_gpc.phpt]
> PASS getopt [ext/standard/tests/general_functions/getopt.phpt] t]
> PASS getopt#002 [ext/standard/tests/general_functions/getopt_002.phpt]
> PASS getopt#003 [ext/standard/tests/general_functions/getopt_003.phpt]
> PASS getopt#004 (Optional values)
> [ext/standard/tests/general_functions/getopt_004.phpt]
> PASS getopt#005 (Required values)
> [ext/standard/tests/general_functions/getopt_005.phpt]
> FAIL Test parse_url() function: Parse a load of URLs without
> specifying PHP_URL_PASS as the URL component
> [ext/standard/tests/url/parse_url_basic_006.phpt]
> PASS Test phpinfo() displays xsl info [ext/xsl/tests/xsl-phpinfo.phpt]
> Test parse_url() function: Parse a load of URLs without specifying
> PHP_URL_PASS as the URL component
> [ext/standard/tests/url/parse_url_basic_006.phpt]
>
> root@december [/dls/php/php-5.3.0]# uname -a
> Linux december.pilotpig.net 2.6.18-128.1.1.el5.028stab062.3 #1 SMP Tue
> May 5 17:31:34 MSD 2009 i686 i686 i386 GNU/Linux
>
> ====
>
> The rest of the 9,400+ tests all came back with undesired results.
> There were no other problems on any of the dev boxes I tried this
> morning, just the test results.
>
> --
> </Daniel P. Brown>
> daniel.brown@parasane.net || danbrown@php.net
> http://www.parasane.net/ ||
> http://www.pilotpig.net/
> Ask me about our fully-managed servers and proactive management
> clusters starting at just $200/mo.!
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php