Re: UEXPECTF is gone: any way to write "portable" tests?
| From: | Felix De Vliegher | Date: | Thu, 24 Jul 2008 08:36:56 +0000 |
| Subject: | Re: UEXPECTF is gone: any way to write "portable" tests? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-64399@lists.php.net to get a copy of this message | ||
What about things like the following:
(PHP6)
Warning: strpbrk() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
Felix
Op 24-jul-08, om 10:08 heeft Ulf Wendel het volgende geschreven:
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: 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 --PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.phpShould 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.