Re: [PHP-DEV] bad test case that depends on user local ini

2008-03-05 Thread Christian Hoffmann
On 2007-12-31 14:53, Christian Hoffmann wrote: There is another problem though: Tests which spawn their own php interpreter (such as Zend/tests/bug40236.phpt) do not load tmp-php.ini but use the global ini file which does contain extension* directives. These tests break. Ok, meanwhile I went thro

Re: [PHP-DEV] bad test case that depends on user local ini

2007-12-31 Thread Christian Hoffmann
On 2007-12-31 12:44, Jani Taskinen wrote: > We have caught several actual bugs because of NOT using -n as people > have had exotic settings not included in the stock php.ini files. I've never doubt that. It certainly has its advantages as well. > On Sun, 2007-12-30 at 14:47 +0100, Christian Hoffm

Re: [PHP-DEV] bad test case that depends on user local ini

2007-12-31 Thread Jani Taskinen
On Sun, 2007-12-30 at 14:47 +0100, Christian Hoffmann wrote: > problems unfixed. Just consider the following scenario: You've got an > existing PHP installation. Let's assume you are using Apache w/ a > multi-threaded mpm and as such have built php with zts. All your > extensions are built with zen

Re: [PHP-DEV] bad test case that depends on user local ini

2007-12-31 Thread Jani Taskinen
On Sun, 2007-12-30 at 14:47 +0100, Christian Hoffmann wrote: > I'd be happy to know what php developers would suggest as a proper fix > for this problem, if they consider "php -n" wrong. We have caught several actual bugs because of NOT using -n as people have had exotic settings not included in t

Re: [PHP-DEV] bad test case that depends on user local ini

2007-12-30 Thread Christian Hoffmann
On 2007-12-30 04:16, phpxcache wrote: > i have the following settings in my /etc/php.ini > pcre.backtrack_limit=1 > pcre.recursion_limit=1000 > test case > ini_get_all() tests [ext/standard/tests/general_functions/ini_get_all.phpt] > FAIL. but after i remove the settings, it will PASS. > >

Re: [PHP-DEV] bad test case that depends on user local ini

2007-12-30 Thread Jani Taskinen
These both tests should just have the INI section with proper settings. --Jani On Sun, 2007-12-30 at 11:16 +0800, phpxcache wrote: > i have the following settings in my /etc/php.ini > pcre.backtrack_limit=1 > pcre.recursion_limit=1000 > test case > ini_get_all() tests [ext/standard/tests

[PHP-DEV] bad test case that depends on user local ini

2007-12-29 Thread phpxcache
i have the following settings in my /etc/php.ini pcre.backtrack_limit=1 pcre.recursion_limit=1000 test case ini_get_all() tests [ext/standard/tests/general_functions/ini_get_all.phpt] FAIL. but after i remove the settings, it will PASS. Bug #43128 Very long class name causes segfault [Zend