Doc #54884 [Opn->Csd]: Syntax error in code sample of imagegif
| From: | pierrick@php.net | Date: | Fri, 20 May 2011 11:51:57 +0000 |
| Subject: | Doc #54884 [Opn->Csd]: Syntax error in code sample of imagegif | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6636@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54884&edit=1
ID: 54884
Updated by: pierrick@php.net
Reported by: gwarnants at gmail dot com
Summary: Syntax error in code sample of imagegif
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: pierrick
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2011-05-20 13:38:03] gwarnants at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.imagegif#Exemples
---
I noticed a syntax error in code sample #2 of imagegif() function
(french version). The single quote must be escaped, moreover the string
contains a spelling mistake.
Regards,
Geoffray
Expected result:
----------------
echo 'Conversion avec succès de l\'image PNG en GIF !';
Actual result:
--------------
echo 'Convertion avec succès de l'image PNG en GIF !';
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54884&edit=1