Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11587 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54087 invoked by uid 1010); 28 Jul 2004 05:46:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 54003 invoked from network); 28 Jul 2004 05:46:40 -0000 Received: from unknown (HELO out2.smtp.messagingengine.com) (66.111.4.26) by pb1.pair.com with SMTP; 28 Jul 2004 05:46:40 -0000 Received: from server3.messagingengine.com (server3.internal [10.202.2.134]) by mail.messagingengine.com (Postfix) with ESMTP id 81088C12922 for ; Wed, 28 Jul 2004 01:46:40 -0400 (EDT) Received: by server3.messagingengine.com (Postfix, from userid 99) id A0B971803B1; Wed, 28 Jul 2004 01:46:40 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.4 (F2.72; T1.001; A1.62; B3.01; Q3.01) To: internals@lists.php.net Date: Tue, 27 Jul 2004 22:46:40 -0700 X-Sasl-Enc: fspkTSP2Zm7+QMAEDqOBrQ 1090993600 Message-ID: <1090993600.4222.201218739@webmail.messagingengine.com> Subject: Clarification needed regarding tests/run-test/test005.phpt From: kameshj@fastmail.fm ("Kamesh Jayachandran") 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