note 38210 added to function.ini-set

From: Date: Fri, 12 Dec 2003 00:31:27 +0000
Subject: note 38210 added to function.ini-set
Groups: php.notes 
Request: Send a blank email to php-notes+get-61842@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.ini-set.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38210 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38210&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38210&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61842) next »