handling non-fatal compile-time errors
| From: | Ferenc Kovacs | Date: | Thu, 08 Aug 2013 15:11:37 +0000 |
| Subject: | handling non-fatal compile-time errors | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-68443@lists.php.net to get a copy of this message | ||
Hi,
I've just bumped into https://bugs.php.net/bug.php?id=65322 recently, and
I
would like you get some opinions on the issue.
Personally I think that it is a really bad design to introduce
pedantic(E_STRICT) errors which can break basic functionality of the engine
(calling the registered autoloader), so if there is no viable solution to
make the autoloader work for these kind of errors, I would like to propose
removing the offending errors and make it a rule to not add compile-time
non-fatal errors until the problem is resolved.
ps: on a related note, somehow I got the feeling that Lester complaining
that E_STRICT errors fataling/crashing the application migrated to PHP 5.4
was related to this problem, and I'm a bit sad that we didn't managed to
figure this out back then.
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu