php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #34555 Typo in imagecreatefromjpeg documentation page.
Submitted: 2005-09-20 00:54 UTC Modified: 2005-09-20 03:45 UTC
From: php-bugs at neothermic dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
 [2005-09-20 00:54 UTC] php-bugs at neothermic dot com
Description:
------------
In the documentation page for imagecreatefromjpeg, the first code example uses this line:

$im  = imagecreatruecolor(150, 30); /* Create a blank image */

However, the function has been typo-ed, it should be:

$im  = imagecreatetruecolor(150, 30); /* Create a blank image */




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-20 03:45 UTC] philip@php.net
This bug has been fixed in CVS, and this fix will show up the next time the PHP manual is built. Thanks for the report!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Sep 07 19:00:02 2025 UTC