Error reporting behavior with streams

From: Date: Thu, 25 Dec 2003 17:32:47 +0000
Subject: Error reporting behavior with streams
Groups: php.internals 
Request: Send a blank email to internals+get-6715@lists.php.net to get a copy of this message
People, 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

« previous php.internals (#6715) next »