0

Why code using $_ENV doesn't giving output?

<?php echo'<table border="1">'; foreach($_ENV as $k=>$v) { echo'<tr><td>'.$k.'</td><td>'.$v.'</td></tr>'; } echo'</table>'; ?> this is the whole simple code .

15th Feb 2018, 2:58 PM
Prati
Prati - avatar
3 Answers
+ 1
That check if in the php.ini by variables_order contains the "E" ... also "EGPCS" NOT "GPCS" ?
15th Feb 2018, 3:25 PM
Shin Lin
0
i think its not allowed to use by php.ini Why you want to use $_EnV? Read the comments on the site below Maybe it can solve your Problem? https://secure.php.net/manual/de/reserved.variables.environment.php
15th Feb 2018, 3:16 PM
Shin Lin
0
I need to know its use..
15th Feb 2018, 3:16 PM
Prati
Prati - avatar