Date: 01/19/01
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8623 Updated: say in configure --with-bz2 needs bzip2 >= 1.0"
- Previous message: scherrey <email protected>: "[PHP-DEV] Bug #8818: Can't start apache with php3 but *can* restart!"
- In reply to: Rick Herbel: "[PHP-DEV] re zend_compile_file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: rickster <email protected>
> [mailto:rickster <email protected>]
> Sent: Friday, January 19, 2001 10:43 PM
> To: php-dev <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: 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>
>
-- 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>
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8623 Updated: say in configure --with-bz2 needs bzip2 >= 1.0"
- Previous message: scherrey <email protected>: "[PHP-DEV] Bug #8818: Can't start apache with php3 but *can* restart!"
- In reply to: Rick Herbel: "[PHP-DEV] re zend_compile_file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

