Doc #77725 [Com]: Mention of PHP 4 and Zend Engine 1 with variable references
| From: | girgias@php.net | Date: | Mon, 11 Mar 2019 22:55:42 +0000 |
| Subject: | Doc #77725 [Com]: Mention of PHP 4 and Zend Engine 1 with variable references | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-16472@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77725&edit=1
ID: 77725
Comment by: girgias@php.net
Reported by: girgias@php.net
Summary: Mention of PHP 4 and Zend Engine 1 with variable
references
Status: Open
Type: Documentation Problem
Package: *General Issues
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Updated my patch at http://edit.php.net/?patchID=3314&project=PHP
to include the fix for this.
Previous Comments:
------------------------------------------------------------------------
[2019-03-11 22:49:27] girgias@php.net
Huh, seems reasonable to write it like that Kalle.
Will go on and update my current patch for it.
------------------------------------------------------------------------
[2019-03-11 22:34:35] kalle@php.net
"PHP implements the static and global modifier for variables..."
Something along those lines is how I would phrase it
------------------------------------------------------------------------
[2019-03-11 19:50:40] requinix@php.net
PHP 4 has been/is being removed from the manual. That whole section should be checked to make sure
it's still correct for PHP 7, and of course edited a bit.
------------------------------------------------------------------------
[2019-03-11 19:00:30] girgias@php.net
Description:
------------
---
From manual page: https://php.net/language.variables.scope
---
When talking about references with global and static [1] there is a mention of PHP 4 and Zend Engine
1 which is pretty outdated information.
However, I don't know how to rephrase it or if the section should be removed.
[1] https://secure.php.net/manual/en/language.variables.scope.php#language.variables.scope.references
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77725&edit=1