Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12102 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71220 invoked by uid 1010); 12 Aug 2004 05:43:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71186 invoked from network); 12 Aug 2004 05:43:20 -0000 Received: from unknown (HELO frontend1.messagingengine.com) (66.111.4.30) by pb1.pair.com with SMTP; 12 Aug 2004 05:43:20 -0000 Received: from server3.messagingengine.com (server3.internal [10.202.2.134]) by frontend1.messagingengine.com (Postfix) with ESMTP id A812EC1459F for ; Thu, 12 Aug 2004 01:43:20 -0400 (EDT) Received: by server3.messagingengine.com (Postfix, from userid 99) id C586D1902A5; Thu, 12 Aug 2004 01:43:20 -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) References: <1090993600.4222.201218739@webmail.messagingengine.com> In-Reply-To: <1090993600.4222.201218739@webmail.messagingengine.com> To: "Kamesh Jayachandran" , internals@lists.php.net Date: Wed, 11 Aug 2004 22:43:20 -0700 X-Sasl-Enc: rFKmbZA2kJpioCDB5OOdww 1092289400 Message-ID: <1092289400.26962.202184375@webmail.messagingengine.com> Subject: Re: Clarification needed regarding tests/run-test/test005.phpt From: kameshj@fastmail.fm ("Kamesh Jayachandran") Can someone clarify me on this? With regards Kamesh Jayachandran On Tue, 27 Jul 2004 22:46:40 -0700, "Kamesh Jayachandran" 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" > ---- 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 > >