Patch for bug #35512

From: Date: Fri, 02 Dec 2005 01:21:42 +0000
Subject: Patch for bug #35512
Groups: php.internals 
Request: Send a blank email to internals+get-20982@lists.php.net to get a copy of this message
Here's a patch for bug #35512. I'm hoping that this can be included in PHP 5.1.2 Thanks, Ryan Dingman rdingman@next-online.net Next Online Mortgage Technologies, Inc.

Index: ZendEngine2/zend.c =================================================================== RCS file: /repository/ZendEngine2/zend.c,v retrieving revision 1.330 diff -u -r1.330 zend.c --- ZendEngine2/zend.c 1 Dec 2005 11:49:15 -0000 1.330 +++ ZendEngine2/zend.c 2 Dec 2005 01:19:08 -0000 @@ -1794,7 +1794,7 @@ if (!file_handle) { continue; } - EG(active_op_array) = zend_compile_file(file_handle, ZEND_INCLUDE TSRMLS_CC); + EG(active_op_array) = zend_compile_file(file_handle, type 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);
« previous php.internals (#20982) next »