Hello Zoe,

  it ignores the php.ini more or less. You should be using run-tests.php
switches -u, -U and -N.

Try: php run-tests.php -h

best regards
marcus

Tuesday, May 15, 2007, 1:33:28 PM, you wrote:

> 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.
>>>
>>
>>




Best regards,
 Marcus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to