Here's a patch for bug #35512. I'm hoping that this can be included in PHP 5.1.2
Thanks, Ryan Dingman [EMAIL PROTECTED] 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);
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php