Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14335 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74967 invoked by uid 1010); 11 Jan 2005 09:39:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 74937 invoked from network); 11 Jan 2005 09:39:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2005 09:39:32 -0000 X-Host-Fingerprint: 66.111.4.27 out3.smtp.messagingengine.com Received: from ([66.111.4.27:37878] helo=out3.smtp.messagingengine.com) by pb1.pair.com (ecelerity HEAD (r4059)) with SMTP id EE/48-05618-3DE93E14 for ; Tue, 11 Jan 2005 04:39:31 -0500 Received: from web2.messagingengine.com (web2.internal [10.202.2.211]) by frontend1.messagingengine.com (Postfix) with ESMTP id 780DDC4AD42; Tue, 11 Jan 2005 04:39:28 -0500 (EST) Received: by web2.messagingengine.com (Postfix, from userid 99) id 3DF52B1B; Tue, 11 Jan 2005 04:39:26 -0500 (EST) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) To: sesser@php.net, internals@lists.php.net, helly@php.net, alan_k@php.net Date: Tue, 11 Jan 2005 01:39:26 -0800 X-Sasl-Enc: A+eTOD70uJ0PkZQPpZJAiw 1105436366 Message-ID: <1105436366.26572.212463585@webmail.messagingengine.com> Subject: php-src/tests/lang/038.phpt fails on php-5.0.3 From: kameshj@fastmail.fm ("Kamesh Jayachandran") Hi All, php-src/tests/lang/038.phpt(Convert warnings to exceptions) this testcase used to succeed in php-5.0.2 and old but not on php-5.0.3. Seems that exception_object->getTrace() now returns an array of size 3 with first 2 entries corresponding to Error2Exception and last one corresponding to fopen. Earlier this used to return array of size 2. Changing the var_dump($trace[1]['function']); to var_dump($trace[2]['function']); will make the testcase go through. Still I am interested in knowing the reason behind three entries in getTrace() return value. With regards Kamesh Jayachandran