Re: hex2bin: E_WARNING is too much for odd string?
| From: | Yasuo Ohgaki | Date: | Wed, 26 Jun 2013 22:24:11 +0000 |
| Subject: | Re: hex2bin: E_WARNING is too much for odd string? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67910@lists.php.net to get a copy of this message | ||
2013/6/27 Kalle Sommer Nielsen <kalle@php.net>
>
> 2013/6/26 Yasuo Ohgaki <yohgaki@ohgaki.net>:
> > PHP 5.4: Keep current behavior
> > PHP 5.4: Riase E_ERROR and return FALSE for invalid length.
> > PHP 5.5: Remove E_ERROR.
>
> Never ever will we raise an E_ERROR. E_ERROR means that we left the
>
Oops.
I meant E_WARNING which is current hex2bin() raising for invalid length.
--
Yasuo Ohgaki
yohgaki@ohgaki.net