Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12938 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87938 invoked by uid 1010); 22 Sep 2004 19:52:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 87907 invoked from network); 22 Sep 2004 19:52:38 -0000 Received: from unknown (HELO main.gmane.org) (80.91.229.2) by pb1.pair.com with SMTP; 22 Sep 2004 19:52:38 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CADAL-0008PG-00 for ; Wed, 22 Sep 2004 21:52:37 +0200 Received: from pd95fbc4c.dip.t-dialin.net ([217.95.188.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Sep 2004 21:52:37 +0200 Received: from sb by pd95fbc4c.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Sep 2004 21:52:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Wed, 22 Sep 2004 21:52:18 +0200 Lines: 72 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pd95fbc4c.dip.t-dialin.net User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Sender: news Subject: Weird engine problem From: sb@sebastian-bergmann.de (Sebastian Bergmann) For quite a while I have been fighting with what I believe to be a bug in the Zend Engine 2. In PHPUnit2 I have the following code: public function run(PHPUnit2_Framework_Test $test) { // $test->name: string(14) "testGetBalance" $this->startTest($test); try { // $test->name: string(14) "testGetBalance" $test->runBare(); } catch (PHPUnit2_Framework_AssertionFailedError $e) { // $test->name: string(14) "testgetbalance" $this->addFailure($test, $e); } catch (Exception $e) { // $test->name: string(14) "testgetbalance" $this->addError($test, $e); } // $test->name: string(14) "testgetbalance" $this->endTest($test); } The object referenced by the variable $test has a private attribute called "name". The value of this attribute somehow get lowercased when the object is used inside the catch-block. My effort to come up with a small, reproducing script for this issue has yet to bear fruit as the obvious approach doSomething($f); ?> does not show the problem. Any idea what I might be missing here? Is there some way to debug the engine to see where the lowercasing happens? Thanks! -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69