note 96448 added to function.imagexbm

From: Date: Sat, 27 Feb 2010 15:34:52 +0000
Subject: note 96448 added to function.imagexbm
Groups: php.notes 
Request: Send a blank email to php-notes+get-166432@lists.php.net to get a copy of this message
It seems that the documentation is not correct OR a bug has been introduced into the code for imagexbm. On windows (Vista Home Ed.), Apache 2.0.52 and PHP 5.3.0, if I pass NULL as the second parameter, this WILL crash my Apache server. When not setting the second parameter at all, I'll get an error message telling me i need to set the second parameter. For me, a solution here is to just put an empty string as the second parameter. In my case, this solved the issue. ---- Server IP: 213.249.64.162 Probable Submitter: 62.45.215.67 ---- Manual Page -- http://www.php.net/manual/en/function.imagexbm.php Edit -- https://master.php.net/note/edit/96448 Del: integrated -- https://master.php.net/note/delete/96448/integrated Del: useless -- https://master.php.net/note/delete/96448/useless Del: bad code -- https://master.php.net/note/delete/96448/bad+code Del: spam -- https://master.php.net/note/delete/96448/spam Del: non-english -- https://master.php.net/note/delete/96448/non-english Del: in docs -- https://master.php.net/note/delete/96448/in+docs Del: other reasons-- https://master.php.net/note/delete/96448 Reject -- https://master.php.net/note/reject/96448 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#166432) next »