On Fri, Jan 2, 2015 at 9:05 PM, Stanislav Malyshev <smalys...@gmail.com> wrote: > Hi! > >> I am also not a fan of errors, exception, at least for methods, make >> much more sense. I know it is relatively easy to handle errors as >> exception but still, let do it right now. > > Then we need to convert all parameter mismatch errors (or at least all > fatal ones) to exceptions. Which I don't think makes a lot of sense to > put in the same RFC but in any case it should work the same way over all > the engine. Otherwise handling it would be a nightmare.
I am not sure about that. Parameters handling is one specific case, userland parameter handling even more. It could be a good move to do that as a 1st step, with this RFC. -- Pierre @pierrejoye | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php