mirror of
https://github.com/php/php-src.git
synced 2026-03-27 09:42:22 +01:00
- Forgotten patch for trunk
- Fixed stdin filename in error messages
This commit is contained in:
@@ -2191,6 +2191,7 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC)
|
||||
* otherwise it will get opened and added to the included_files list in zend_execute_scripts
|
||||
*/
|
||||
if (primary_file->filename &&
|
||||
(primary_file->filename[0] != '-' || primary_file->filename[1] != 0) &&
|
||||
primary_file->opened_path == NULL &&
|
||||
primary_file->type != ZEND_HANDLE_FILENAME
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user