zend_compile_file is a function pointer...this line is the most helpful:
Zend/zend.c: zend_compile_file = compile_file;
You are looking for the wrong function.
Sean
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 19, 2001 10:43 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DEV] re zend_compile_file
>
>
> 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_INC
> LUDE: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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]