Doc #77725 [Opn]: Mention of PHP 4 and Zend Engine 1 with variable references

From: Date: Wed, 13 Mar 2019 09:56:28 +0000
Subject: Doc #77725 [Opn]: 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-16482@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 Updated by: kalle@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: I reviewed the patch; The patches seems to make the assumption that arrays like $HTTP_POST_VARS is PHP4 only, This is not the case as they were available after the introduction of superglobals like $_POST in 4.1.0 all the way to their deprecation in 5.3.0. Check the register_long_arrays ini directive, which I removed in 5.4.0. (Just assign me if you need more comments as I am not subscribed to bug reports) Thanks =D Previous Comments: ------------------------------------------------------------------------ [2019-03-11 22:55:42] girgias@php.net Updated my patch at http://edit.php.net/?patchID=3314&project=PHP to include the fix for this. ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#16482) next »