Doc #70085 [Com]: [ZH] A omit of the 'empty' function manual

From: Date: Fri, 17 Jul 2015 03:12:52 +0000
Subject: Doc #70085 [Com]: [ZH] A omit of the 'empty' function manual
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12530@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70085&edit=1 ID: 70085 Comment by: DevonLiu at foxmail dot com Reported by: DevonLiu at foxmail dot com Summary: [ZH] A omit of the 'empty' function manual Status: Open Type: Documentation Problem Package: Translation problem Operating System: Ubuntu 14.04 PHP Version: 5.5.27 Block user comment: N Private report: N New Comment: Got it. Thank you for the suggestion. Previous Comments: ------------------------------------------------------------------------ [2015-07-16 10:53:05] cmb@php.net > Maybe you guys could add the note in English for Chinese manual > page. That is usually not done. Instead we rely on the translation team to update the translations in a timely manner. There are tools available, which show the diffs, e.g. <http://svn.php.net/viewvc/phpdoc/en/trunk/reference/var/functions/empty.xml?r1=322174&r2=334621>. If you want to help with the translation, I you can supply patches via <https://edit.php.net/>, and maybe it's useful to contact doc-zh@php.net also. ------------------------------------------------------------------------ [2015-07-16 03:19:58] DevonLiu at foxmail dot com Description: ------------ --- From manual page: http://www.php.net/function.empty --- The 'empty' manual page in Chinese is out of time. It makes me confused once. In 5.5.x, the 'empty' function could determine whether a variable is empty, and we could learn that empty() also support a expression from the note statement. The problem is, in Chinese version had not add that note yet. For a time, our team had always wonder why some code likes 'empty(trim($var))' can run on one's platform, but others, until we saw the manual in English version. Maybe you guys could add the note in English for Chinese manual page. I am happy to translate it when i am free. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70085&edit=1

« previous php.doc.bugs (#12530) next »