Doc #71991 [NEW]: assert() docs seem to imply PHP 5 only
| From: | lsloan at umich dot edu | Date: | Fri, 08 Apr 2016 16:00:44 +0000 |
| Subject: | Doc #71991 [NEW]: assert() docs seem to imply PHP 5 only | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-13394@lists.php.net to get a copy of this message | ||
From: lsloan at umich dot edu
Operating system: OS X 10.11
PHP version: 5.6.20
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:assert() docs seem to imply PHP 5 only
Description:
------------
---
From manual page: http://www.php.net/function.assert
---
The manual page includes the text:
Description
PHP 5
bool assert ( mixed $assertion [, string $description ] )
It seems to imply that form of the method is for PHP 5 only. Actually,
reading further, it shows that this form works with PHP 5 and 7. The
text should be changed to:
Description
PHP 5 and 7
bool assert ( mixed $assertion [, string $description ] )
I tried to change this via the online documentation editor, but I can't
tell whether my change was saved.
--
Edit bug report at https://bugs.php.net/bug.php?id=71991&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71991&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71991&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71991&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71991&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71991&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71991&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71991&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71991&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71991&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71991&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71991&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71991&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71991&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71991&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71991&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71991&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71991&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71991&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71991&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71991&r=mysqlcfg