On Jan 6, 2008 11:15 PM, Stefan Priebsch <[EMAIL PROTECTED]> wrote:
> Pierre schrieb:
>  > I don't see the point to make a application working when you pass to
>  > it the wrong data, it is a bad usage. That was the moto for the
>
> So how are you going to deal with the "bad usage" then?
> Isn't the
> problem that this "bad usage" is discovered at runtime, vs at compile
> time like in Java? If you don't deal with these errors, you effectively
> "crash" your application.

That what happens now with the numerous fatal errors. That's not the
case with an E_RECOVERABLE error. PHP has no compiler and all errors
will be see at runtime, even fatals like missing classes, functions,
methods, wrong interfaces or bad usages of set/getters.

-- 
Pierre
http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to