Re: cvs: php-src /ext/gd/tests createfromwbmp2.phpt
| From: | Antony Dovgal | Date: | Mon, 23 Apr 2007 07:34:21 +0000 |
| Subject: | Re: cvs: php-src /ext/gd/tests createfromwbmp2.phpt | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-44033@lists.php.net to get a copy of this message | ||
On 04/21/2007 01:48 AM, Pierre wrote:
On 4/20/07, Antony Dovgal <tony2001@php.net> wrote:X character unicode buffer downcoded for binary stream runtime_encoding in .. on line .. -- Wbr, Antony DovgalWhich kind of warnings (no php6 at hand)? Or do you mean if fopen fails?tony2001 Fri Apr 20 21:00:07 2007 UTCModified files:/php-src/ext/gd/tests createfromwbmp2.phptLog: avoid 10 000 warnings http://cvs.php.net/viewvc.cgi/php-src/ext/gd/tests/createfromwbmp2.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/gd/tests/createfromwbmp2.phpt diff -u php-src/ext/gd/tests/createfromwbmp2.phpt:1.1 php-src/ext/gd/tests/createfromwbmp2.phpt:1.2--- php-src/ext/gd/tests/createfromwbmp2.phpt:1.1 Sat Mar 10 12:16:19 2007+++ php-src/ext/gd/tests/createfromwbmp2.phpt Fri Apr 20 21:00:07 2007 @@ -33,7 +33,7 @@ /*write some data to cause overflow*/ for ($i=0; $i<10000; $i++) {- fwrite($fp, chr($c), 1); + @fwrite($fp, chr($c), 1);}