Re: type hinting
| From: | Stefan Priebsch | Date: | Sun, 06 Jan 2008 23:01:14 +0000 |
| Subject: | Re: type hinting | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34564@lists.php.net to get a copy of this message | ||
Pierre schrieb:
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.Sorry, not true. PHP does compile first and E_STRICT errors show up at compile time, which you can observe running a php -l lint check on a file E_STRICT errors and an appropriate error reporting level. But that's not really to the point, I know. Regards, Stefan -- >e-novative> - We make IT work for you. e-novative GmbH - HR: Amtsgericht München HRB 139407 Sitz: Wolfratshausen - GF: Dipl. Inform. Stefan Priebsch http://www.e-novative.de - GnuPG Key: 0x7DB67F7F