On Jul 22, 2004, at 7:17 AM, John Lim wrote:

Hi,

I am using call_user_function_ex() to call mysql_fetch_array, ocifetchinto,
etc.


 error = call_user_function_ex(EG(function_table),
      NULL,
      &function_name_zval,
      &retval, 2,  &params[1], 0, NULL TSRMLS_CC);

This is not giving me the performance I am looking for because the Zend
Engine
still has to search for the function to call. Is there any way to get a
function
pointer to mysql_fetch_array/ocifetchinto etc., and call the function
directly ?

If performance is your concern, why not simply call the various RDBMS API functions directly?


George

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



Reply via email to