[PHP-DEV] re zend_compile_file From: Rick Herbel (rickster <email protected>)
Date: 01/19/01

Hi

Just a dumb question could not find this in this function in the source

zend_compile_file

Probably due to some strange C ism I dont understand here is the "grep
-r"I performed any clues would be helpful.

Zend/zend_compile.c: :ZEND_API zend_op_array
*(*zend_compile_file)(zend_file_handle *file_handle, int type
CLS_DC); ?? this couldn't be it could it?

 version php-4.0.4pl1
___ ________________________________
$ grep -r zend_compile_file *
Zend/zend.c: zend_compile_file = compile_file;
Zend/zend.c: EG(active_op_array) =
zend_compile_file(file_handle, ZEND_INCLUDE CLS_CC);
Zend/zend_compile.c: :ZEND_API zend_op_array
*(*zend_compile_file)(zend_file_handle *file_handle, int type
CLS_DC);
c
Zend/zend_compile.h:extern ZEND_API zend_op_array
*(*zend_compile_file)(zend_file_handle *file_handle, int type CLS_DC);
Zend/zend_execute.c:
new_op_array = zend_compile_file(&file_handle,
(opline->op2.u.constant.value.lval==ZEND_INCLUDE_ONCE?ZEND_INCLUDE:ZEND_REQUIRE)
CLS_CC);
Zend/zend_language_scanner.l: retval = zend_compile_file(&file_handle,
type CLS_CC);
Zend/zend_language_scanner.c: retval = zend_compile_file(&file_handle,
type CLS_CC);
Zend/zend_language_scanner_cc.cc: retval =
zend_compile_file(&file_handle, type CLS_CC);
Binary file Zend/zend_language_scanner.lo matches
Binary file Zend/.libs/libZend_c.al matches
Binary file Zend/.libs/libZend.al matches
Binary file Zend/zend_compile.lo matches
Binary file Zend/zend_execute.lo matches
Binary file Zend/zend.lo matches
main/main.c: op_array = zend_compile_file(file, ZEND_INCLUDE CLS_CC);

Binary file main/main.lo matches
Binary file main/.libs/libmain.al matches

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>