Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29438 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53333 invoked by uid 1010); 15 May 2007 11:43:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 53318 invoked from network); 15 May 2007 11:43:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2007 11:43:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:52051] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 23/2B-07106-1DC99464 for ; Tue, 15 May 2007 07:43:16 -0400 Received: (qmail 19781 invoked from network); 15 May 2007 11:43:11 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 15 May 2007 11:43:11 -0000 Message-ID: <46499CCD.8040003@zend.com> Date: Tue, 15 May 2007 15:43:09 +0400 User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Zoe Slattery 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: antony@zend.com (Antony Dovgal) On 05/15/2007 02:46 PM, 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? Yup, everything is correct. -- Wbr, Antony Dovgal