1.variables_order
Variables_order = "Egpcs"
This egpcs is a description of the priority of getting content with the $_request array,
The meanings of their letters are represented as: E for $_env,g on behalf of $_get,p on behalf of $_POST,C representative of $_cookie,s on behalf of $_session.
The data that appears later overwrites the data that was previously written, and its default data is written in egpcs, so the cookie contains data that overrides the number of the same keyword used in post/get.
2.allow_call_time_pass_reference
Whether to enable forcing arguments to be passed by reference when the function is called.
When Allow_call_time_pass_reference=off
<?php
Function ABC ($a, $b) {
echo "$a/n";
echo "$b/n";
$b = ' CDE ';
}
$a = ' abc ';
$b = "BCD";
Bad usage, will trigger a PHP warnning
ABC ($a,& $b);
echo "$b/n";
?>
To pass a parameter $b by reference, the program can change to
<?php
Function ABC ($a,& $b) {
echo "$a/n";
echo "$b/n";
$b = ' CDE ';
}
$a = ' abc ';
$b = "BCD";
The right usage
ABC ($a, $b);
echo "$b/n";
Output is:
Abc
Bcd
Cde
?>