Doc #65989 [Csd]: duplicate note re: keywords outside of functions
| From: | david at beroff dot com | Date: | Thu, 31 Oct 2013 16:48:17 +0000 |
| Subject: | Doc #65989 [Csd]: duplicate note re: keywords outside of functions | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10571@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65989&edit=1
ID: 65989
User updated by: david at beroff dot com
Reported by: david at beroff dot com
Summary: duplicate note re: keywords outside of functions
Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
Assigned To: kalle
Block user comment: N
Private report: N
New Comment:
Thank you, kalle, but shouldn't've the second instance relate
to static keywords, rather than just being removed? Or am I
misunderstanding the original intent? Anyway, thanks!
Previous Comments:
------------------------------------------------------------------------
[2013-10-31 15:51:00] kalle@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
------------------------------------------------------------------------
[2013-10-31 15:50:44] kalle@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=332027
Log: Removed duplicate note (Fixes #65989)
------------------------------------------------------------------------
[2013-10-29 03:08:07] david at beroff dot com
Description:
------------
On http://php.net/manual/en/language.variables.scope.php
, one
will see that there are two identical notes which each begin,
"Using global keyword outside a function is not an error...."
I think the second instance probably meant to state,
"Using static keyword outside a function is not an error...."
Test script:
---------------
Irrelevant
Expected result:
----------------
Irrelevant
Actual result:
--------------
Irrelevant
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65989&edit=1