From:             cheal at hotpop dot com
Operating system: 
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  Error in French translation of empty() documentation

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).


-- 
Edit bug report at http://bugs.php.net/?id=29906&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29906&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29906&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29906&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29906&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29906&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29906&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29906&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29906&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29906&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29906&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29906&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29906&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29906&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29906&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29906&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29906&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29906&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29906&r=float

Reply via email to