Amir <ad...@ecdcconference.org> wrote:

>it is no mater using mysql function or other function. I want to use
>both
>as function in my extension.

It matters as calling userspace functions is in at least 90% of the cases the 
wrong approach and there are better ones. The better approach depends on the 
goal.
(The only times where it is a good thing to do is when calling a user provided 
callback as in usort() or a method from an object extending an internal class s 
in some iterators etc.)

>I used PHP 5.2.9 so i have lib mysql instead of mysqlnd.

This is very old. You should update.

>Is there any way to use lib mysql in c-Level API?

libmysql is the MySQL Client Library. Refer to 
http://dev.mysql.com/doc/refman/5.5/en/c.html

johannes


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

Reply via email to