Re: Call ZEND_FUNCTION in Zend_API

From: Date: Tue, 10 Oct 2000 13:14:45 +0000
Subject: Re: Call ZEND_FUNCTION in Zend_API
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-34592@lists.php.net to get a copy of this message
On Tue, 10 Oct 2000, Andre Christ wrote: > But my function test() needs to be exported to php as well as it needs to be > used inside my module. How can I achieve to call this "exported" function from > inside the module. Abstract the guts of your test() function into another function called test2(). Then your PHP_FUNCTION(test) will just be a wrapper that accepts arguments and passes them onto the test2() function. Then you'll be able to call test2() from other functions as well. -Andrei * Reality isn't all it's cracked up to be. *

« previous php.dev (#34592) next »