Dhiru Pandey wrote:
> Thanks for responding.
> 
> May be I mis-wrote.
> What I would really like is a way to call the native c functions of the
> php implementation directly (bypassing the PHP compiler) like:
> 
> PHP_FUNCTION(str_repeat)
> PHP_FUNCTION(addcslashes)  etc.
> 
> In other words I would like to invoke this functions directly thru C or
> Java.
> 
> I do not want to callback into a PHP script user function

Callback works with the native C functions too. It'll be pretty nasty
trying to get all of PHP's macros to work from scratch. Just use the
infrastructure that's in place already.

-- 
 Edward Z. Yang                        GnuPG: 0x869C48DA
 HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
 [[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to