Re: require/include PHP code from C code in extension ?

From: Date: Tue, 20 Jun 2000 16:25:06 +0000
Subject: Re: require/include PHP code from C code in extension ?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-21849@lists.php.net to get a copy of this message
At 04:26 PM 6/19/00 +0200, Hartmut Holzgraefe wrote:
is it possible to use require_filename() from zend_scanner.l from within a C-function in an extension, and if so: how is it done right?
No it is not possible but you could use eval() from your code or doing an include() is also possible (although you need to know how to write the code which will handle this). How about using eval_string with "<? require filename; ?> as it's code? Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#21849) next »