Re: cvs: php-src /ext/gd/tests createfromwbmp2.phpt
| From: | Pierre | Date: | Fri, 20 Apr 2007 21:48:52 +0000 |
| Subject: | Re: cvs: php-src /ext/gd/tests createfromwbmp2.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-44017@lists.php.net to get a copy of this message | ||
On 4/20/07, Antony Dovgal <tony2001@php.net> wrote:
Which kind of warnings (no php6 at hand)? Or do you mean if fopen fails? --Pierretony2001 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);}