When streams were introduced, the format of error messages involving include/require changed significantly, and now emits two errors instead of one. Am I the only one being bugged by this? I think we can simply remove the REPORT_ERRORS option from php_fopen_wrapper_for_zend(). Possibly, if there are cases where php_stream_open_wrapper_as_file() can report something smarter than just the inability to create the stream, we can add an option such as REPORT_NONTRIVIAL_ERRORS, so that if the stream-level error has something smart to say, it won't go unnoticed.
Thoughts?
Zeev
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
