devdocs icon indicating copy to clipboard operation
devdocs copied to clipboard

[docs] Lack of information about $_GET, $_POST, $_REQUEST, $_COOKIE, and $_SESSION variables

Open jboulen opened this issue 2 years ago • 0 comments

What is the URL of the page?

https://moodledev.io/general/development/process/peer-review#syntax

What is the issue with this page?

Documentation indicates:

$_GET, $_POST, $_REQUEST, $_COOKIE, and $_SESSION are never used.

But nowhere documentation explains what to do instead. For $_GET, $_POST and $_REQUEST, we can probably refer to this page.

Also, maybe some superglobals are missing in this list (eg: $_FILES and $_ENV).

Are you able to provide a patch for this?

None

jboulen avatar Feb 14 '23 12:02 jboulen