note 109309 added to function.ini-set
| From: | Anonymous | Date: | Wed, 04 Jul 2012 21:18:57 +0000 |
| Subject: | note 109309 added to function.ini-set | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-189033@lists.php.net to get a copy of this message | ||
Since function signature says 2nd argument is string, example given in manual shall be corrected and
instead of:
ini_set('display_errors', 1);
it should read:
ini_set('display_errors', '1');
The fact former works, does not justyfy learning people bad habits.
----
Server IP: 69.147.83.197
Probable Submitter: 62.69.215.57
----
Manual Page -- http://www.php.net/manual/en/function.ini-set.php
Edit -- https://master.php.net/note/edit/109309
Del: integrated -- https://master.php.net/note/delete/109309/integrated
Del: useless -- https://master.php.net/note/delete/109309/useless
Del: bad code -- https://master.php.net/note/delete/109309/bad+code
Del: spam -- https://master.php.net/note/delete/109309/spam
Del: non-english -- https://master.php.net/note/delete/109309/non-english
Del: in docs -- https://master.php.net/note/delete/109309/in+docs
Del: other reasons-- https://master.php.net/note/delete/109309
Reject -- https://master.php.net/note/reject/109309
Search -- https://master.php.net/manage/user-notes.php