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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php-bugs at neothermic dot com
New email:
PHP Version: OS:

 

 [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: Mon Sep 08 13:00:02 2025 UTC