php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #29906 Error in French translation of empty() documentation
Submitted: 2004-08-31 08:22 UTC Modified: 2004-08-31 19:23 UTC
From: cheal at hotpop dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2004-08-31 08:22 UTC] cheal at hotpop dot com
Description:
------------
http://www.php.net/manual/fr/function.empty.php
reads
"empty() retourne la valeur FALSE si la variable var est affect?e ou bien a une valeur diff?rente de 0; la valeur TRUE dans les autres cas. Dans d'autres termes, "", 0, "0", NULL, FALSE, tableau, var $var;, et les objets avec des propri?t?s vides, sont toutes consid?r?s comme vide. TRUE est retourn? si var est vide."
while the English version reads
"empty() returns FALSE if var has a non-empty and non-zero value. In otherwords, "", 0, "0", NULL, FALSE, array(), var $var;, and objects with empty properties, are all considered empty. TRUE is returned if var  is empty."

The error is that "array()" should be left unchanged instead of being translated to "tableau".

My encouragements to the PHP doc team for doc quality and translation quality (despite).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-31 19:23 UTC] didou@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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Aug 04 01:00:03 2025 UTC