note 38210 deleted from function.ini-set by pollita
| From: | pollita@php.net | Date: | Fri, 12 Dec 2003 00:35:12 +0000 |
| Subject: | note 38210 deleted from function.ini-set by pollita | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-61845@lists.php.net to get a copy of this message | ||
Note Submitter: clifford dot wells at comcast dot net
----
Just because you can change the behavior of PHP via the ini file doesn't mean you should. It
is a long and well-accepted tenet that globals are bad. ini file settings are essentially global
variables. Globals are sometimes needed, but if you *must* use globals, do it in your source code,
not the ini file, and try to keep it to a minimum.
No offense to JeDi at Zwelche dot de, but setting ini options in .htaccess is plain evil.