Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30316 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18866 invoked by uid 1010); 22 Jun 2007 07:58:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 18851 invoked from network); 22 Jun 2007 07:58:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jun 2007 07:58:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=zoe.slattery@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zoe.slattery@googlemail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.134.190 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: zoe.slattery@googlemail.com X-Host-Fingerprint: 209.85.134.190 mu-out-0910.google.com Received: from [209.85.134.190] ([209.85.134.190:53149] helo=mu-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 41/70-13300-B218B764 for ; Fri, 22 Jun 2007 03:58:37 -0400 Received: by mu-out-0910.google.com with SMTP id w1so753592mue for ; Fri, 22 Jun 2007 00:58:33 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=YX7GA3WViqf2JvvyA+RnLb2krOHNN1kIg9mXXE+rAA7uKgjediCtcBA4/O4kx+Jf04hVn3pEtJIvyg1Z5NIueZKZdm9o6lNbSSE7kNOQxHaeKlflfFk4m58Vwkeqd2iCZ0pyZT19RkwOSNTv8xKhVs3nd4+LSgH2YmAP1hYFhPI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=jwiHTveBxcXJt9u6gg972wnSEfF5MH68l6GfHoiL/C/5LW2lJ87/GxX7RjOy2eT84EG/Oh+Ny3kVa3RfsAISLoL9h6zhinOz6TX6vlpEDdssdZOc1RpljuyhepRoOs3/J2uf7kYdpCCF0D7HijvwR2bppmElXvjjs4izo3BOclk= Received: by 10.82.189.6 with SMTP id m6mr5756600buf.1182499113018; Fri, 22 Jun 2007 00:58:33 -0700 (PDT) Received: from ?9.20.191.65? ( [195.212.29.92]) by mx.google.com with ESMTP id k9sm13597195nfh.2007.06.22.00.58.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 22 Jun 2007 00:58:29 -0700 (PDT) Message-ID: <467B8122.3050508@googlemail.com> Date: Fri, 22 Jun 2007 08:58:26 +0100 User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Zend tests From: zoe.slattery@googlemail.com (Zoe Slattery) Hi I started to look at the test coverage of the Zend engine this week. I tried to commit a couple of small tests (see PHP6 versions below) but looks like my CVS ID doesn't let me commit to Zend/tests. Would it be possible to upgrade me so that I can commit tests to Zend/tests as well as ext/standard/tests? The tests I wanted to add were to check when class constants get initialised, I think this behaviour changed recently in PHP5 (the second test used to have output 'string(10) "const in B"'). The current behaviour looks correct and I couldn't see a test that already covers this. selfParent_001.phpt ============== --TEST-- Test when constants are initialised. See also selfParent_002.phpt. --FILE-- --EXPECT-- string(10) "const in A" string(10) "const in A" --UEXPECT-- unicode(10) "const in A" unicode(10) "const in A" selfParent_002.phpt ============== --TEST-- Test when constants are initialised. See also selfParent_001.phpt. --FILE-- --EXPECT-- string(10) "const in A" string(10) "const in A" --UEXPECT-- unicode(10) "const in A" unicode(10) "const in A" Zoe Slattery IBM