Re: Error messages for wrong coding
| From: | Felipe Pena | Date: | Tue, 19 Feb 2008 11:52:04 +0000 |
| Subject: | Re: Error messages for wrong coding | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35587@lists.php.net to get a copy of this message | ||
Em Ter, 2008-02-19 às 12:28 +0100, Marcus Boerger escreveu:
> This patch results in two error message for type long, one complaining about
> long, one about double. You can use function zend_get_type_by_const() to
> avoid this. Also make sure that we see the new style message for type bool
> and anything else that is not handled right now (aka just use default case).
>
Ooops, I forget that! :D
Here's: http://felipe.ath.cx/diff/bug39915.diff
Em Ter, 2008-02-19 às 01:25 -0300, Cristian Rodriguez escreveu:
> you need to handle offset of booleans too..
Oops! Thanks.
... I was sleepy :P