Doc #71991 [Fbk->Opn]: assert() docs seem to imply PHP 5 only
| From: | lsloan at umich dot edu | Date: | Sat, 09 Apr 2016 00:12:37 +0000 |
| Subject: | Doc #71991 [Fbk->Opn]: assert() docs seem to imply PHP 5 only | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13396@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71991&edit=1
ID: 71991
User updated by: lsloan at umich dot edu
Reported by: lsloan at umich dot edu
Summary: assert() docs seem to imply PHP 5 only
-Status: Feedback
+Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: OS X 10.11
PHP Version: 5.6.20
Block user comment: N
Private report: N
New Comment:
Thank you for pointing that out. I believe I've finished the job at edit.php.net. My change
now appears under the "Patches for review" heading. Do I need to do anything else, like
attach the patch to this bug report?
Previous Comments:
------------------------------------------------------------------------
[2016-04-08 23:19:13] requinix@php.net
Changes to the docs online need to be saved, committed to a patch, and finally approved before they
can get onto the site. I see your change but it doesn't look like you've committed it
yet...
------------------------------------------------------------------------
[2016-04-08 16:00:39] lsloan at umich dot edu
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 this bug report at https://bugs.php.net/bug.php?id=71991&edit=1