php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #30960 Problem with String conversion to numbers example in french doc
Submitted: 2004-12-02 14:15 UTC Modified: 2004-12-02 14:39 UTC
From: fgaloppin at it-optics dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
 [2004-12-02 14:15 UTC] fgaloppin at it-optics dot com
Description:
------------
In String conversion to numbers part, in french documentation, there is this example code :

$foo = "10.0 pigs " + 1;          // $foo is integer (11)

It's wrong .. testing it give float (11) according to the english documentation.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-02 14:39 UTC] yannick@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 yannick
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=5d55fc926be2838e305bd42cf1421418746eb823
Log: fix bug #30960
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 20 13:00:01 2025 UTC