Re: cvs: php-src /ext/libxml/tests 002.phpt /ext/reflection/tests 005.phpt
| From: | Derick Rethans | Date: | Tue, 19 Sep 2006 12:24:20 +0000 |
| Subject: | Re: cvs: php-src /ext/libxml/tests 002.phpt /ext/reflection/tests 005.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-40595@lists.php.net to get a copy of this message | ||
On Tue, 19 Sep 2006, Antony Dovgal wrote:
> tony2001 Tue Sep 19 12:06:49 2006 UTC
>
> Modified files:
> /php-src/ext/libxml/tests 002.phpt
> /php-src/ext/reflection/tests 005.phpt
> Log:
> fix tests
>
>
>
> http://cvs.php.net/viewvc.cgi/php-src/ext/libxml/tests/002.phpt?r1=1.2&r2=1.3&diff_format=u
> Index: php-src/ext/libxml/tests/002.phpt
> diff -u php-src/ext/libxml/tests/002.phpt:1.2 php-src/ext/libxml/tests/002.phpt:1.3
> --- php-src/ext/libxml/tests/002.phpt:1.2 Tue Jun 27 22:54:29 2006
> +++ php-src/ext/libxml/tests/002.phpt Tue Sep 19 12:06:49 2006
> @@ -16,7 +16,7 @@
> </movies>
> XML;
>
> -$doc = simplexml_load_string($xmlstr);
> +$doc = simplexml_load_string((binary)$xmlstr);
> $xml = explode("\n", $xmlstr);
You shouldn't have to do this actually... as the original code should
just still work fine.
regards,
Derick