Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29435 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28555 invoked by uid 1010); 15 May 2007 10:46:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28540 invoked from network); 15 May 2007 10:46:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2007 10:46:52 -0000 Authentication-Results: pb1.pair.com header.from=zoe.slattery@googlemail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=zoe.slattery@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 66.249.92.170 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.170 ug-out-1314.google.com Linux 2.4/2.6 Received: from [66.249.92.170] ([66.249.92.170:8704] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7E/D8-07106-69F89464 for ; Tue, 15 May 2007 06:46:52 -0400 Received: by ug-out-1314.google.com with SMTP id o4so1276199uge for ; Tue, 15 May 2007 03:46:43 -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=koF3zjuLWEKvOidcdc3TQPx9QTFwbPBL5wFlrwYWWNdKu9W/bDOjM3RhzmNqSQIwFitvW+NREPiGddHg/vb0oR6e130Cmpd4aRttt5+uHt7eGDb35Bz9Zw9Ywifdiw1YEBz6lJGpV4x+Qc3RmVLVCYfSTwl8L9mFuTCf/ypakas= 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=iCA1TbNVNSVQE7ulNr4ia42xpwzm193FyNCUOrEcp6dEqRu967IIm//Sg5Aa4NGioQwi5rFWIFoO7XcKGnidY1HLVe5wWbaPI54+hohhAaII8i7dRyRH/GYCpLCRBRHKT4oqCKEl2UkBFtPbUkDvGRj6jHCqy1Zg1HkhUuVk7Cw= Received: by 10.67.116.1 with SMTP id t1mr5896653ugm.1179225997515; Tue, 15 May 2007 03:46:37 -0700 (PDT) Received: from ?9.20.191.73? ( [195.212.29.75]) by mx.google.com with ESMTP id m1sm15507205uge.2007.05.15.03.46.36; Tue, 15 May 2007 03:46:36 -0700 (PDT) Message-ID: <46498F8B.2090902@googlemail.com> Date: Tue, 15 May 2007 11:46:35 +0100 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Antony Dovgal 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> In-Reply-To: <464974DE.7060008@zend.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) 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? > > * There is also UEXPECTREGEX - similar to EXPECTREGEX, but used in > Unicode mode. >