-
Notifications
You must be signed in to change notification settings - Fork 7.9k
php.ini: set variables_order to EGPCS #10182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 2 commits
4982bb5
a401f84
88357a2
967fbbe
2883090
7404da1
64e1c97
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,8 +146,8 @@ | |
|
||
; variables_order | ||
; Default Value: "EGPCS" | ||
; Development Value: "GPCS" | ||
; Production Value: "GPCS" | ||
; Development Value: "EGPCS" | ||
; Production Value: "EGPCS" | ||
|
||
; zend.assertions | ||
; Default Value: 1 | ||
|
@@ -630,16 +630,14 @@ ignore_repeated_source = Off | |
|
||
; This directive determines which super global arrays are registered when PHP | ||
; starts up. G,P,C,E & S are abbreviations for the following respective super | ||
; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty | ||
; paid for the registration of these arrays and because ENV is not as commonly | ||
; used as the others, ENV is not recommended on productions servers. You | ||
; can still get access to the environment variables through getenv() should you | ||
; need to. | ||
; globals: GET, POST, COOKIE, ENV and SERVER. | ||
; In environments where _ENV is not registered, it is still possible to get | ||
; access to the environment via getenv() | ||
; Default Value: "EGPCS" | ||
; Development Value: "GPCS" | ||
; Production Value: "GPCS"; | ||
; https://php.net/variables-order | ||
variables_order = "GPCS" | ||
; Development Value: "EGPCS" | ||
; Production Value: "EGPCS"; | ||
Comment on lines
+632
to
+633
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similarly these lines should be removed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Other close by and related settings declare here their defaults, ini and production values, so it seems fine to follow that pattern. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They only do that when any of them differ from the built-in default. |
||
; http://php.net/variables-order | ||
krakjoe marked this conversation as resolved.
Show resolved
Hide resolved
|
||
variables_order = "EGPCS" | ||
krakjoe marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
; This directive determines which super global data (G,P & C) should be | ||
; registered into the super global array REQUEST. If so, it also determines | ||
|
Uh oh!
There was an error while loading. Please reload this page.