php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #33135 PHP error in french manual (language.exceptions)
Submitted: 2005-05-25 10:25 UTC Modified: 2005-05-25 20:25 UTC
From: admin at ff dot st Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
 [2005-05-25 10:25 UTC] admin at ff dot st
Description:
------------
In the French manual, an error is present in the sample on page :
http://fr2.php.net/manual/fr/language.exceptions.php

The example 20-1 shows :
echo 'Capture de l'exception : ',  $e->getMessage(), "\n";

Obviously the single quote must be escaped :
echo 'Capture de l\'exception : ',  $e->getMessage(), "\n";

A comment (in French) has been posted on 20-May-2005 11:07 about that, but only suggests to replace the single quote with a space.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-25 20:25 UTC] nlopess@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.


 [2020-12-30 12:50 UTC] nikic@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=8b539991abc4848aaf153d25a38515e3bcbd059c
Log: fix #33135: typo in the example
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Feb 21 08:00:02 2026 UTC