Doc #70085 [NEW]: A omit of the 'empty' function manual
| From: | DevonLiu at foxmail dot com | Date: | Thu, 16 Jul 2015 03:19:59 +0000 |
| Subject: | Doc #70085 [NEW]: A omit of the 'empty' function manual | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-12527@lists.php.net to get a copy of this message | ||
From: DevonLiu at foxmail dot com
Operating system: Ubuntu 14.04
PHP version: 5.5.27
Package: Translation problem
Bug Type: Documentation Problem
Bug description:A omit of the 'empty' function manual
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 bug report at https://bugs.php.net/bug.php?id=70085&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70085&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70085&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70085&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70085&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70085&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70085&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70085&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70085&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70085&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70085&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70085&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70085&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70085&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70085&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70085&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70085&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70085&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70085&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70085&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70085&r=mysqlcfg