Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29437 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50147 invoked by uid 1010); 15 May 2007 11:33:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 50132 invoked from network); 15 May 2007 11:33:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2007 11:33:35 -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 66.249.92.171 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: 66.249.92.171 ug-out-1314.google.com Linux 2.4/2.6 Received: from [66.249.92.171] ([66.249.92.171:57785] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/9A-07106-D8A99464 for ; Tue, 15 May 2007 07:33:35 -0400 Received: by ug-out-1314.google.com with SMTP id o4so1282058uge for ; Tue, 15 May 2007 04:33:31 -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:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Wg5yH5mPKpKIkPAl27AeC4BDWsBhz7rDLeQec93KwTq+Pal6Df9t8JRal6FbjgPTQLQjXTEH7saqf0iYfiY3k/4poByv4hIHuZkMxTOKiY0O3Rfq6YFffOCCIwQ37OOu0G1JAvCMFaa+f3k0RNHThdKe9o3jW/BJEnYVq1EhQ8g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=rQGytF62J/WvZot7opdwX5UehHsaRbWmzgiBMJJ4s08/vH8I/kV74Xc2mGT1SX1NX3m6/yjjEdEzaa+2CvboQHBcmdQLTwACqNAWQcXtH5lq94uHPEzXKR7O9ormTHTAbbBzxsJi4i5ApB4kslcf9O52hO2OkpPjNQryG9PusD0= Received: by 10.67.50.7 with SMTP id c7mr5896201ugk.1179228811145; Tue, 15 May 2007 04:33:31 -0700 (PDT) Received: from ?9.20.191.73? ( [195.212.29.67]) by mx.google.com with ESMTP id 53sm15986026ugn.2007.05.15.04.33.29; Tue, 15 May 2007 04:33:29 -0700 (PDT) Message-ID: <46499A88.6000502@googlemail.com> Date: Tue, 15 May 2007 12:33:28 +0100 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: antony@zend.com CC: internals@lists.php.net References: <464891C7.3040806@googlemail.com> <862412914.20070514193633@marcus-boerger.de> <46496335.5050403@googlemail.com> <5e2913440705150052l7bac4028sc3ac26655b38b141@mail.gmail.com> <464968C5.9060608@zend.com> <4649730B.5020507@googlemail.com> <464974DE.7060008@zend.com> <46498F8B.2090902@googlemail.com> In-Reply-To: <46498F8B.2090902@googlemail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Tests - and a question From: zoe.slattery@googlemail.com (Zoe Slattery) Zoe Slattery wrote: > Antony Dovgal wrote: >> On 05/15/2007 12:44 PM, Zoe Slattery wrote: >>> We're on it :-) Will probably have a few more questions on Unicode >>> testing later, noticed that you are putting UEXPECT section in >>> tests- but need to understand the implemenentation plan first... >> >> We have two operation modes in PHP6 - "native" and Unicode. In these >> modes expected output of the same test may differ very much. >> That's why in some cases we have to use two expected output sections >> - EXPECT(F) for native and UEXPECT(F) for Unicode mode. > Thanks - I've just been looking at this and would like to confirm that > I've understood it. We can have both --EXEPECT(F)-- and --UEXPECT(F)-- > in a PHPT file. In PHP5 run-tests.php will just ignore the --U.*-- > sections. In PHP6 run-tests.php will use the --U.*-- sections if > unicode_semantics=on and ignore the corresponding --EXPECT(F)-- > sections. If unicode_semantics=off PHP6 will behave the same way as PHP5. > > Correct? Or is it more complicated that that? Hmm - this isn't quite right. I get the test to behave differently with an --INI-- section which uses unicode_semantics=on/off, but not when I use a php.ini file... >> >> * There is also UEXPECTREGEX - similar to EXPECTREGEX, but used in >> Unicode mode. >> > >