php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #51149 typo in online doc of glob()
Submitted: 2010-02-25 19:12 UTC Modified: 2010-02-25 22:01 UTC
From: remycouture at gmail dot com Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: openbsd
Private report: No CVE-ID: None
 [2010-02-25 19:12 UTC] remycouture at gmail dot com
Description:
------------
In the french man page of glob() it says that

[...]
foreach (glob("*.txt") as $filename) {
    echo "$filename occupe " . filesize($filename) . "\n";
}
[...]

should output

funclist.txt size 44686
funcsummary.txt size 267625
quickref.txt size 137820

It should be

funclist.txt occupe 44686
funcsummary.txt occupe 267625
quickref.txt occupe 137820

here it is http://us2.php.net/manual/fr/function.glob.php

peace out my friend

Reproduce code:
---------------
---
From manual page: http://www.php.net/function.glob#Exemples
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-25 22:01 UTC] svn@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=295517
Log: Fixed bug #51149 (typo in online doc of glob())
 [2010-02-25 22:01 UTC] kalle@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:49 UTC] nikic@php.net
Automatic comment on behalf of kalle
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=5a65a8e146ecc78d51773c6b4a651c085663d770
Log: Fixed bug #51149 (typo in online doc of glob())
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 16:00:01 2026 UTC