ErrorExceptions
ErrorExceptions copied to clipboard
"Offset not contained" messages
As in your first example, in my computer, with PHP 5.4.7, a warning is generated instead of an exception. By your comment, this is intended, but maybe you could convert warnings like this in OutOfBoundsException
from SPL.
http://br.php.net/manual/en/class.outofboundsexception.php
This isn't really intended to be a production ready repository, but justification for why the current error system is a nightmare to work with...
With that said, pull-requests adding new errors/warnings/etc will definitely be accepted!!!
Thanks
Well, I'll soon be on vacation, I can try find some more improvements.