php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #36199 Example 1 on imagecharup man page incorrect
Submitted: 2006-01-29 13:26 UTC Modified: 2006-01-30 15:31 UTC
From: jw at jwscripts dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jw at jwscripts dot com
New email:
PHP Version: OS:

 

 [2006-01-29 13:26 UTC] jw at jwscripts dot com
Description:
------------
Example 1 on imagecharup man page incorrectly uses imagecreatetruecolor() instead of imagecreate().

Therefore, the background color isn't set with imagecolorallocate() and the result of the code is a black square with black text.

Reproduce code:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-30 15:31 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

Fixed in examples of functions imagechar, imagecharup and imagestring.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Aug 02 22:00:02 2025 UTC