Hi All,
tests/run-test/test005.phpt is failing in PHP-5.0.0 linux.
The log of test execution is pasted below.
---- EXPECTED OUTPUT
string(1) "1"
string(4) "4095"
string(1) "0"
string(1) "1"
string(1) "0"
NULL
string(%d) "%sivision by zer%s"
---- ACTUAL OUTPUT
string(1) "1"
string(4) "2047"
string(1) "0"
string(1) "1"
string(1) "0"
NULL
string(16) "Division by zero"
---- FAILED
The only difference I see is in the error_reporting value.
Which I think 2047 is right as my php.ini says E_ALL.
And my command line also says the same
php -d "output_handler=" -d "zlib.output_compression=Off" -d
"open_basedir=" -d "safe_mode=0" -d "disable_functions=" -d
"output_buffering=Off" -d "error_reporting=2047" -d "display_errors=1"
-d "log_errors=0" -d "html_errors=0" -d "track_errors=1" -d
"report_memleaks=1" -d "report_zend_debug=0" -d
"docref_root=/phpmanual/" -d "docref_ext=.html" -d
"error_prepend_string=" -d "error_append_string=" -d
"auto_prepend_file=" -d "auto_append_file=" -d "magic_quotes_runtime=0"
testsuite/tests/run-test/test005.php
Why the testcase is expecting 4095 as I could not find any --INI section
inside the testcase that sets this value to 4095?
With regards
Kamesh Jayachandran
Can someone clarify me on this?
With regards
Kamesh Jayachandran
On Tue, 27 Jul 2004 22:46:40 -0700, "Kamesh Jayachandran"
kameshj@fastmail.fm said:
Hi All,
tests/run-test/test005.phpt is failing in PHP-5.0.0 linux.
The log of test execution is pasted below.---- EXPECTED OUTPUT
string(1) "1"
string(4) "4095"
string(1) "0"
string(1) "1"
string(1) "0"
NULL
string(%d) "%sivision by zer%s"
---- ACTUAL OUTPUT
string(1) "1"
string(4) "2047"
string(1) "0"
string(1) "1"
string(1) "0"
NULL
string(16) "Division by zero"
---- FAILEDThe only difference I see is in the error_reporting value.
Which I think 2047 is right as my php.ini says E_ALL.
And my command line also says the same
php -d "output_handler=" -d "zlib.output_compression=Off" -d
"open_basedir=" -d "safe_mode=0" -d "disable_functions=" -d
"output_buffering=Off" -d "error_reporting=2047" -d "display_errors=1"
-d "log_errors=0" -d "html_errors=0" -d "track_errors=1" -d
"report_memleaks=1" -d "report_zend_debug=0" -d
"docref_root=/phpmanual/" -d "docref_ext=.html" -d
"error_prepend_string=" -d "error_append_string=" -d
"auto_prepend_file=" -d "auto_append_file=" -d "magic_quotes_runtime=0"
testsuite/tests/run-test/test005.phpWhy the testcase is expecting 4095 as I could not find any --INI section
inside the testcase that sets this value to 4095?With regards
Kamesh Jayachandran
Can Someone clarify on this?
With regards
Kamesh Jayachandran
On Wed, 11 Aug 2004 22:43:20 -0700, "Kamesh Jayachandran"
kameshj@fastmail.fm said:
Can someone clarify me on this?
With regards
Kamesh Jayachandran
On Tue, 27 Jul 2004 22:46:40 -0700, "Kamesh Jayachandran"
kameshj@fastmail.fm said:Hi All,
tests/run-test/test005.phpt is failing in PHP-5.0.0 linux.
The log of test execution is pasted below.---- EXPECTED OUTPUT
string(1) "1"
string(4) "4095"
string(1) "0"
string(1) "1"
string(1) "0"
NULL
string(%d) "%sivision by zer%s"
---- ACTUAL OUTPUT
string(1) "1"
string(4) "2047"
string(1) "0"
string(1) "1"
string(1) "0"
NULL
string(16) "Division by zero"
---- FAILEDThe only difference I see is in the error_reporting value.
Which I think 2047 is right as my php.ini says E_ALL.
And my command line also says the same
php -d "output_handler=" -d "zlib.output_compression=Off" -d
"open_basedir=" -d "safe_mode=0" -d "disable_functions=" -d
"output_buffering=Off" -d "error_reporting=2047" -d "display_errors=1"
-d "log_errors=0" -d "html_errors=0" -d "track_errors=1" -d
"report_memleaks=1" -d "report_zend_debug=0" -d
"docref_root=/phpmanual/" -d "docref_ext=.html" -d
"error_prepend_string=" -d "error_append_string=" -d
"auto_prepend_file=" -d "auto_append_file=" -d "magic_quotes_runtime=0"
testsuite/tests/run-test/test005.phpWhy the testcase is expecting 4095 as I could not find any --INI section
inside the testcase that sets this value to 4095?With regards
Kamesh Jayachandran