RE: [PHP-DEV] re zend_compile_file

From: Date: Sat, 20 Jan 2001 04:41:28 +0000
Subject: RE: [PHP-DEV] re zend_compile_file
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-44624@lists.php.net to get a copy of this message
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@rick-kim.firstlight.net > [mailto:rickster@rick-kim.firstlight.net] > Sent: Friday, January 19, 2001 10:43 PM > To: php-dev@lists.php.net > 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@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.dev (#44624) next »