|
|
|
@ -1053,6 +1053,10 @@ ZEND_API int zend_execute_scripts(int type TSRMLS_DC, zval **retval, int file_co |
|
|
|
continue; |
|
|
|
} |
|
|
|
EG(active_op_array) = zend_compile_file(file_handle, ZEND_INCLUDE TSRMLS_CC); |
|
|
|
if(file_handle->opened_path) { |
|
|
|
int dummy=1; |
|
|
|
zend_hash_add(&EG(included_files), file_handle->opened_path, strlen(file_handle->opened_path)+1, (void *)&dummy, sizeof(int), NULL); |
|
|
|
} |
|
|
|
zend_destroy_file_handle(file_handle TSRMLS_CC); |
|
|
|
if (EG(active_op_array)) { |
|
|
|
EG(return_value_ptr_ptr) = retval ? retval : &local_retval; |
|
|
|
|