mirror of
https://github.com/php/php-src.git
synced 2026-04-27 10:16:41 +02:00
Fixed bug #36809 (__FILE__ behavior changed)
This commit is contained in:
@@ -10,6 +10,7 @@ PHP NEWS
|
||||
(also fixes bug #36764). (Tony)
|
||||
- Removed the E_STRICT deprecation notice from "var". (Ilia)
|
||||
- Fixed debug_zval_dump() to support private and protected members. (Dmitry)
|
||||
- Fixed bug #36809 (__FILE__ behavior changed). (Dmitry)
|
||||
- FIxed bug #36808 (syslog ident becomes garbage between requests). (Tony)
|
||||
- Fixed bug #36756 (DOMDocument::removeChild corrupts node). (Rob)
|
||||
- Fixed bug #36749 (SOAP: 'Error Fetching http body' when using HTTP Proxy).
|
||||
|
||||
@@ -1696,6 +1696,7 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC)
|
||||
if (expand_filepath(primary_file->filename, realfile TSRMLS_CC)) {
|
||||
realfile_len = strlen(realfile);
|
||||
zend_hash_add(&EG(included_files), realfile, realfile_len+1, (void *)&dummy, sizeof(int), NULL);
|
||||
primary_file->opened_path = estrndup(realfile, realfile_len);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user