1
0
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:
Dmitry Stogov
2006-03-21 08:49:42 +00:00
parent e8d320dd77
commit 658ac96cfa
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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).
+1
View File
@@ -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);
}
}