Hi Aaron,

On Sun, May 24, 2015 at 5:12 AM, Aaron Piotrowski <aa...@icicle.io> wrote:

> I’ve created an RFC for modifying the exception hierarchy for PHP 7,
> adding Throwable interface and renaming the exceptions thrown from fatal
> errors. The RFC is now ready for discussion.
>
> RFC: https://wiki.php.net/rfc/throwable-interface <
> https://wiki.php.net/rfc/throwable-interface>
> Pull Request: https://github.com/php/php-src/pull/1284 <
> https://github.com/php/php-src/pull/1284>
>

Does this include internal function type errors?
e.g.

$ php -r 'var_dump(mt_srand("99999999999999999999999999999999999"));'
PHP Warning:  mt_srand() expects parameter 1 to be integer, string given in
Command line code on line 1
NULL

If not, please make these exceptions rather than E_WARNING.
We need consistency here.

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

Reply via email to