Re: [POC - Patch] Scalar Type Hinting - A-La zend_parse_parameters
| From: | Anthony Ferrara | Date: | Mon, 12 Mar 2012 11:46:35 +0000 |
| Subject: | Re: [POC - Patch] Scalar Type Hinting - A-La zend_parse_parameters | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58869@lists.php.net to get a copy of this message | ||
Arvids,
> Yea, that part looks confusing.
> What I wanted to say is that I would like to get E_RECOVERABLE_ERROR and I
> was voicing my opinion on that earlier in the threads. But I could live with
> E_WARNING and E_NOTICE if community decides it to be less strict - I will
> clean up my code not to throw a single notice (and because I use Yii - it's
> by default converts any E_* raised to a fatal error and throws HTTP 500
> error via exceptions).
>
> In my 8 years of active PHP development I learned that some strictness in
> deep core code of the project is a good thing and erroring the hell out
> there makes perfect sense. It's a delicate balance and I never apply it to
> the level that does actual communication with the outside world.
Ok, I agree 100%. I was just confused about your wording and wanted
to clarify it to the list. So we're on the same page here.
Thanks!
Anthony