Re: Notes affecting manual contributors
| From: | Steph Fox | Date: | Mon, 27 Mar 2006 17:34:52 +0000 |
| Subject: | Re: Notes affecting manual contributors | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-2004@lists.php.net to get a copy of this message | ||
Of course it returns 2047 and not E_ALL. But how do you use it? Do you do this: ini_get('error_reporting') & 256 Or this: ini_get('error_reporting') & E_USER_ERRORIf I want to find out what the current setting is, I just do ini_get('error_reporting'). Luckily I have access to a manual that tells me what 2047 means. Andrei, I just don't understand your argument against documenting enum/flag values, full stop. We've been doing it quite happily for the last four years... - Steph