|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66492 imageflip example images don't match example code
Submitted: 2014-01-15 22:28 UTC Modified: 2016-06-14 15:45 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: sleeping at myperch dot org Assigned: cmb (profile)
Status: Not a bug Package: Documentation problem
PHP Version: 5.5.8 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: sleeping at myperch dot org
New email:
PHP Version: OS:


 [2014-01-15 22:28 UTC] sleeping at myperch dot org
From manual page:

The first example is for vertical flipping but the example image is horizontally flipped. The second example is for horizontal flipping but the image is vertically flipped.

Either switch the images around, or the code blocks.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-06-14 15:45 UTC]
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2016-06-14 15:45 UTC]
The documentation is correct (at least as it's now). The constants
might be misleading, though. IMG_FLIP_HORIZONTAL means flip in
horizontal direction, but not mirror on a horizontal axis.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Oct 28 03:01:23 2020 UTC