Re: UEXPECTF is gone: any way to write "portable" tests?
| From: | Ulf Wendel | Date: | Thu, 24 Jul 2008 08:08:31 +0000 |
| Subject: | Re: UEXPECTF is gone: any way to write "portable" tests? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-64398@lists.php.net to get a copy of this message | ||
Lars Strojny schrieb:
Hi Ulf, Am Mittwoch, den 23.07.2008, 17:37 +0200 schrieb Ulf Wendel:Unfortunately not. I missed one detail. SELECT varbinary_column PHP 5:Should be as little as inserting the following two lines into run-tests.phpt at line 1711 (HEAD):I've committed a slightly modified version. Hopefully this helps.
string(<length>) "varbinary_column"PHP 6 in the past:
string(<length>) "varbinary_column"
(distinction string vs. binary, "BC compliant")
PHP 6 today:
unicode(<length>) "varbinary_column"
(no distinction between string and binary)
PHP 6 feature request of Marcus
binary(<length>) "varbinary_column"
(distinction string vs. binary, "BC break")
Now, I either need an additional %string|binary% thingie or - which I'm in favour of - I will stall the update of all ext/mysql and ext/mysqli tests in HEAD with regards to [U]EXPECT[F] until PHP 6 and run-tests.phpt have stabilized.
Ulf