lots of proto stuff

This commit is contained in:
Hartmut Holzgraefe 2003-03-15 22:51:49 +00:00
parent 4cb4676ac9
commit e6633a9611
3 changed files with 62 additions and 56 deletions

View File

@ -31,7 +31,7 @@
/* {{{ proto mixed mysqli_affected_rows(resource link) /* {{{ proto mixed mysqli_affected_rows(resource link)
*/ Get number of affected rows in previous MySQL operation */
PHP_FUNCTION(mysqli_affected_rows) PHP_FUNCTION(mysqli_affected_rows)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -54,7 +54,7 @@ PHP_FUNCTION(mysqli_affected_rows)
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_autocommit(resource link, bool mode) /* {{{ proto bool mysqli_autocommit(resource link, bool mode)
*/ Turn auto commit on or of */
PHP_FUNCTION(mysqli_autocommit) PHP_FUNCTION(mysqli_autocommit)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -77,7 +77,8 @@ PHP_FUNCTION(mysqli_autocommit)
} }
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_bind_param(resource stmt, mixed, [mixed,....]) /* {{{ proto bool mysqli_bind_param(resource stmt, mixed variable, int type [,mixed,....])
Bind variables to a prepared statement as parameters
*/ */
PHP_FUNCTION(mysqli_bind_param) PHP_FUNCTION(mysqli_bind_param)
@ -204,7 +205,8 @@ PHP_FUNCTION(mysqli_bind_param)
} }
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_bind_result(resource stmt, mixed var, long len, [mixed,long....]) /* {{{ proto bool mysqli_bind_result(resource stmt, mixed var, int len [,mixed,int....])
Bind variables to a prepared statement for result storage
*/ */
/* TODO: /* TODO:
@ -358,7 +360,7 @@ PHP_FUNCTION(mysqli_bind_result)
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_change_user(resource link, string user, string password, string database) /* {{{ proto bool mysqli_change_user(resource link, string user, string password, string database)
*/ Change logged in user of the active connection */
PHP_FUNCTION(mysqli_change_user) PHP_FUNCTION(mysqli_change_user)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -386,6 +388,7 @@ PHP_FUNCTION(mysqli_change_user)
/* }}} */ /* }}} */
/* {{{ proto string mysqli_character_set_name(resource link) /* {{{ proto string mysqli_character_set_name(resource link)
Returns the name of the charater set used for this connection
*/ */
PHP_FUNCTION(mysqli_character_set_name) PHP_FUNCTION(mysqli_character_set_name)
{ {
@ -410,7 +413,7 @@ PHP_FUNCTION(mysqli_character_set_name)
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_close(resource link) /* {{{ proto bool mysqli_close(resource link)
close connection */ Close connection */
PHP_FUNCTION(mysqli_close) PHP_FUNCTION(mysqli_close)
{ {
zval *mysql_link; zval *mysql_link;
@ -439,6 +442,7 @@ PHP_FUNCTION(mysqli_close)
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_commit(resource link) /* {{{ proto bool mysqli_commit(resource link)
Commit outstanding actions and close transaction
*/ */
PHP_FUNCTION(mysqli_commit) PHP_FUNCTION(mysqli_commit)
{ {
@ -460,7 +464,7 @@ PHP_FUNCTION(mysqli_commit)
/* }}} */ /* }}} */
/* {{{ proto void mysqli_data_seek(resource result) /* {{{ proto void mysqli_data_seek(resource result)
*/ Move internal result pointer */
PHP_FUNCTION(mysqli_data_seek) PHP_FUNCTION(mysqli_data_seek)
{ {
MYSQL_RES *result; MYSQL_RES *result;
@ -615,7 +619,7 @@ PHP_FUNCTION(mysqli_enable_rpl_parse)
/* }}} */ /* }}} */
/* {{{ proto int mysqli_errno(resource link) /* {{{ proto int mysqli_errno(resource link)
*/ Returns the numerical value of the error message from previous MySQL operation */
PHP_FUNCTION(mysqli_errno) PHP_FUNCTION(mysqli_errno)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -631,7 +635,7 @@ PHP_FUNCTION(mysqli_errno)
/* }}} */ /* }}} */
/* {{{ proto string mysql_error(resource link) /* {{{ proto string mysql_error(resource link)
*/ Returns the text of the error message from previous MySQL operation */
PHP_FUNCTION(mysqli_error) PHP_FUNCTION(mysqli_error)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -647,6 +651,7 @@ PHP_FUNCTION(mysqli_error)
/* }}} */ /* }}} */
/* {{{ proto int mysqli_execute(resource stmt) /* {{{ proto int mysqli_execute(resource stmt)
Execute a prepared statement
*/ */
PHP_FUNCTION(mysqli_execute) PHP_FUNCTION(mysqli_execute)
{ {
@ -691,6 +696,7 @@ PHP_FUNCTION(mysqli_execute)
/* }}} */ /* }}} */
/* {{{ proto int mysqli_fetch(resource stmt) /* {{{ proto int mysqli_fetch(resource stmt)
Fetch results from a prepared statement into the bound variables
*/ */
PHP_FUNCTION(mysqli_fetch) PHP_FUNCTION(mysqli_fetch)
{ {
@ -761,7 +767,7 @@ PHP_FUNCTION(mysqli_fetch)
/* }}} */ /* }}} */
/* {{{ proto int mysql_fetch_field (resource result) /* {{{ proto int mysql_fetch_field (resource result)
*/ Get column information from a result and return as an object */
PHP_FUNCTION(mysqli_fetch_field) PHP_FUNCTION(mysqli_fetch_field)
{ {
MYSQL_RES *result; MYSQL_RES *result;
@ -874,7 +880,7 @@ PHP_FUNCTION(mysqli_fetch_field_direct)
/* }}} */ /* }}} */
/* {{{ proto array mysqli_fetch_lengths (resource result) /* {{{ proto array mysqli_fetch_lengths (resource result)
*/ Get the length of each output in a result */
PHP_FUNCTION(mysqli_fetch_lengths) PHP_FUNCTION(mysqli_fetch_lengths)
{ {
MYSQL_RES *result; MYSQL_RES *result;
@ -903,7 +909,7 @@ PHP_FUNCTION(mysqli_fetch_lengths)
/* }}} */ /* }}} */
/* {{{ proto array mysqli_fetch_row (resource result) /* {{{ proto array mysqli_fetch_row (resource result)
*/ Get a result row as an enumerated array */
PHP_FUNCTION(mysqli_fetch_row) PHP_FUNCTION(mysqli_fetch_row)
{ {
php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MYSQLI_NUM); php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MYSQLI_NUM);
@ -928,7 +934,7 @@ PHP_FUNCTION(mysqli_field_count)
/* }}} */ /* }}} */
/* {{{ proto int mysqli_field_seek(resource link, int fieldnr) /* {{{ proto int mysqli_field_seek(resource link, int fieldnr)
*/ Set result pointer to a specified field offset */
PHP_FUNCTION(mysqli_field_seek) PHP_FUNCTION(mysqli_field_seek)
{ {
MYSQL_RES *result; MYSQL_RES *result;
@ -952,7 +958,7 @@ PHP_FUNCTION(mysqli_field_seek)
/* }}} */ /* }}} */
/* {{{ proto int mysqli_field_tell(resource result) /* {{{ proto int mysqli_field_tell(resource result)
*/ Get current field offset of result pointer */
PHP_FUNCTION(mysqli_field_tell) PHP_FUNCTION(mysqli_field_tell)
{ {
MYSQL_RES *result; MYSQL_RES *result;
@ -969,7 +975,7 @@ PHP_FUNCTION(mysqli_field_tell)
/* }}} */ /* }}} */
/* {{{ proto int mysqli_free_result(resource result) /* {{{ proto int mysqli_free_result(resource result)
*/ Free result memory */
PHP_FUNCTION(mysqli_free_result) PHP_FUNCTION(mysqli_free_result)
{ {
MYSQL_RES *result; MYSQL_RES *result;
@ -991,8 +997,8 @@ PHP_FUNCTION(mysqli_free_result)
} }
/* }}} */ /* }}} */
/* {{{ proto string mysqli_get_client_info /* {{{ proto string mysqli_get_client_info(void)
*/ Get MySQL client info */
PHP_FUNCTION(mysqli_get_client_info) PHP_FUNCTION(mysqli_get_client_info)
{ {
RETURN_STRING((char *)mysql_get_client_info(), 1); RETURN_STRING((char *)mysql_get_client_info(), 1);
@ -1000,7 +1006,7 @@ PHP_FUNCTION(mysqli_get_client_info)
/* }}} */ /* }}} */
/* {{{ proto string mysqli_get_host_info (resource link) /* {{{ proto string mysqli_get_host_info (resource link)
*/ Get MySQL host info */
PHP_FUNCTION(mysqli_get_host_info) PHP_FUNCTION(mysqli_get_host_info)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -1017,6 +1023,7 @@ PHP_FUNCTION(mysqli_get_host_info)
/* }}} */ /* }}} */
/* {{{ proto int mysqli_get_proto_info /* {{{ proto int mysqli_get_proto_info
Get MySQL protocol info
*/ */
PHP_FUNCTION(mysqli_get_proto_info) PHP_FUNCTION(mysqli_get_proto_info)
{ {
@ -1034,7 +1041,7 @@ PHP_FUNCTION(mysqli_get_proto_info)
/* }}} */ /* }}} */
/* {{{ proto string mysqli_get_server_info(resource link) /* {{{ proto string mysqli_get_server_info(resource link)
*/ Get MySQL server info */
PHP_FUNCTION(mysqli_get_server_info) PHP_FUNCTION(mysqli_get_server_info)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -1070,7 +1077,7 @@ PHP_FUNCTION(mysqli_get_server_version)
/* }}} */ /* }}} */
/* {{{ proto string mysqli_info(resource link) /* {{{ proto string mysqli_info(resource link)
*/ Get information about the most recent query */
PHP_FUNCTION(mysqli_info) PHP_FUNCTION(mysqli_info)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -1102,7 +1109,7 @@ PHP_FUNCTION(mysqli_init)
/* }}} */ /* }}} */
/* {{{ proto mixed mysqli_insert_id(resource link) /* {{{ proto mixed mysqli_insert_id(resource link)
*/ Get the ID generated from the previous INSERT operation */
PHP_FUNCTION(mysqli_insert_id) PHP_FUNCTION(mysqli_insert_id)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -1120,7 +1127,7 @@ PHP_FUNCTION(mysqli_insert_id)
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_kill(resource link, int processid) /* {{{ proto bool mysqli_kill(resource link, int processid)
*/ Kill a mysql process on the server */
PHP_FUNCTION(mysqli_kill) PHP_FUNCTION(mysqli_kill)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -1142,7 +1149,7 @@ PHP_FUNCTION(mysqli_kill)
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_master_query(resource link, string query) /* {{{ proto bool mysqli_master_query(resource link, string query)
*/ Enforce execution of a query on the master in a master/slace setup */
PHP_FUNCTION(mysqli_master_query) { PHP_FUNCTION(mysqli_master_query) {
MYSQL *mysql; MYSQL *mysql;
zval *mysql_link; zval *mysql_link;
@ -1163,7 +1170,7 @@ PHP_FUNCTION(mysqli_master_query) {
/* }}} */ /* }}} */
/* {{{ proto int mysqli_num_fields(resource result) /* {{{ proto int mysqli_num_fields(resource result)
*/ Get number of fields in result */
PHP_FUNCTION(mysqli_num_fields) PHP_FUNCTION(mysqli_num_fields)
{ {
MYSQL_RES *result; MYSQL_RES *result;
@ -1181,7 +1188,7 @@ PHP_FUNCTION(mysqli_num_fields)
/* }}} */ /* }}} */
/* {{{ proto int mysqli_num_rows(resource result) /* {{{ proto int mysqli_num_rows(resource result)
*/ Get number of rows in result */
PHP_FUNCTION(mysqli_num_rows) PHP_FUNCTION(mysqli_num_rows)
{ {
MYSQL_RES *result; MYSQL_RES *result;
@ -1208,7 +1215,7 @@ PHP_FUNCTION(mysqli_num_rows)
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_options(resource link, int flags, mixed values) /* {{{ proto bool mysqli_options(resource link, int flags, mixed values)
set options */ Set options */
PHP_FUNCTION(mysqli_options) PHP_FUNCTION(mysqli_options)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -1244,7 +1251,7 @@ PHP_FUNCTION(mysqli_options)
/* }}} */ /* }}} */
/* {{{ proto int mysqli_param_count(resource stmt) { /* {{{ proto int mysqli_param_count(resource stmt) {
return the number of parameter for the given statement */ Return the number of parameter for the given statement */
PHP_FUNCTION(mysqli_param_count) PHP_FUNCTION(mysqli_param_count)
{ {
STMT *stmt; STMT *stmt;
@ -1261,7 +1268,7 @@ PHP_FUNCTION(mysqli_param_count)
/* }}} */ /* }}} */
/* {{{ proto int mysqli_ping(resource link) /* {{{ proto int mysqli_ping(resource link)
*/ Ping a server connection or reconnect if there is no connection */
PHP_FUNCTION(mysqli_ping) PHP_FUNCTION(mysqli_ping)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -1276,8 +1283,8 @@ PHP_FUNCTION(mysqli_ping)
} }
/* }}} */ /* }}} */
/* {{{ proto resource mysqli_prepare(resource link, char* query) /* {{{ proto resource mysqli_prepare(resource link, string query)
*/ Prepare a SQL statement for execution */
PHP_FUNCTION(mysqli_prepare) PHP_FUNCTION(mysqli_prepare)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -1331,8 +1338,8 @@ PHP_FUNCTION(mysqli_prepare)
} }
/* }}} */ /* }}} */
/* {{{ proto resource mysqli_prepare_result(stmt) /* {{{ proto resource mysqli_prepare_result(resource stmt)
*/ */
PHP_FUNCTION(mysqli_prepare_result) PHP_FUNCTION(mysqli_prepare_result)
{ {
STMT *stmt; STMT *stmt;
@ -1374,7 +1381,7 @@ PHP_FUNCTION(mysqli_read_query_result)
} }
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_real_connect(resource link, [string hostname, [string username, [string passwd, [string dbname, [int port, [string socket]]]]]) /* {{{ proto bool mysqli_real_connect(resource link [,string hostname [,string username [,string passwd [,string dbname [,int port [,string socket]]]]]])
open a connection to a mysql server */ open a connection to a mysql server */
PHP_FUNCTION(mysqli_real_connect) PHP_FUNCTION(mysqli_real_connect)
{ {
@ -1445,7 +1452,7 @@ PHP_FUNCTION(mysqli_real_query)
/* }}} */ /* }}} */
/* {{{ proto string mysqli_real_escape_string(resource link, string escapestr) /* {{{ proto string mysqli_real_escape_string(resource link, string escapestr)
close statement */ Escapes special characters in a string for use in a SQL statement, taking into account the current charset of the connection */
PHP_FUNCTION(mysqli_real_escape_string) { PHP_FUNCTION(mysqli_real_escape_string) {
MYSQL *mysql; MYSQL *mysql;
zval *mysql_link = NULL; zval *mysql_link = NULL;
@ -1484,7 +1491,7 @@ PHP_FUNCTION(mysqli_reload)
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_rollback(resource link) /* {{{ proto bool mysqli_rollback(resource link)
*/ Undo actions from current transaction */
PHP_FUNCTION(mysqli_rollback) PHP_FUNCTION(mysqli_rollback)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -1557,7 +1564,7 @@ PHP_FUNCTION(mysqli_rpl_query_type)
} }
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_send_long_data(resource stmt, long param_nr, string data) /* {{{ proto bool mysqli_send_long_data(resource stmt, int param_nr, string data)
*/ */
PHP_FUNCTION(mysqli_send_long_data) PHP_FUNCTION(mysqli_send_long_data)
{ {
@ -1609,7 +1616,7 @@ PHP_FUNCTION(mysqli_send_query)
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_slave_query(resource link, string query) /* {{{ proto bool mysqli_slave_query(resource link, string query)
*/ Enforce execution of a query on a slave in a master/slave setup */
PHP_FUNCTION(mysqli_slave_query) PHP_FUNCTION(mysqli_slave_query)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -1630,8 +1637,8 @@ PHP_FUNCTION(mysqli_slave_query)
} }
/* }}} */ /* }}} */
/* {{{ proto mixed mysqli_stmt_affected_rows(object stmt) /* {{{ proto mixed mysqli_stmt_affected_rows(resource stmt)
*/ */
PHP_FUNCTION(mysqli_stmt_affected_rows) PHP_FUNCTION(mysqli_stmt_affected_rows)
{ {
STMT *stmt; STMT *stmt;
@ -1650,7 +1657,7 @@ PHP_FUNCTION(mysqli_stmt_affected_rows)
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_stmt_close(resource stmt) /* {{{ proto bool mysqli_stmt_close(resource stmt)
close statement */ Close statement */
PHP_FUNCTION(mysqli_stmt_close) PHP_FUNCTION(mysqli_stmt_close)
{ {
STMT *stmt; STMT *stmt;
@ -1671,7 +1678,7 @@ PHP_FUNCTION(mysqli_stmt_close)
/* }}} */ /* }}} */
/* {{{ proto string mysqli_select_db(resource link, string dbname) /* {{{ proto string mysqli_select_db(resource link, string dbname)
*/ Select a MySQL database */
PHP_FUNCTION(mysqli_select_db) PHP_FUNCTION(mysqli_select_db)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -1694,7 +1701,7 @@ PHP_FUNCTION(mysqli_select_db)
} }
/* }}} */ /* }}} */
/* {{{ proto string mysqli_ssl_set(resource link, [string key, [string cert, [string ca, [string capath, [string cipher]]]]]) /* {{{ proto string mysqli_ssl_set(resource link [,string key [,string cert [,string ca [,string capath [,string cipher]]]]])
*/ */
PHP_FUNCTION(mysqli_ssl_set) PHP_FUNCTION(mysqli_ssl_set)
{ {
@ -1716,8 +1723,8 @@ PHP_FUNCTION(mysqli_ssl_set)
} }
/* }}} */ /* }}} */
/* {{{ proto string mysqli_stat /* {{{ proto string mysqli_stat(resource link)
*/ Get current system status */
PHP_FUNCTION(mysqli_stat) PHP_FUNCTION(mysqli_stat)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -1813,8 +1820,7 @@ PHP_FUNCTION(mysqli_store_result)
/* }}} */ /* }}} */
/* {{{ proto int mysqli_thread_id(resource link) /* {{{ proto int mysqli_thread_id(resource link)
*/ Return the current thread ID */
PHP_FUNCTION(mysqli_thread_id) PHP_FUNCTION(mysqli_thread_id)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -1831,7 +1837,7 @@ PHP_FUNCTION(mysqli_thread_id)
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_thread_safe(void) /* {{{ proto bool mysqli_thread_safe(void)
*/ Return whether thread safety is given or not */
PHP_FUNCTION(mysqli_thread_safe) PHP_FUNCTION(mysqli_thread_safe)
{ {
RETURN_BOOL(mysql_thread_safe()); RETURN_BOOL(mysql_thread_safe());

View File

@ -29,8 +29,8 @@
#include "ext/standard/info.h" #include "ext/standard/info.h"
#include "php_mysqli.h" #include "php_mysqli.h"
/* {{{ proto resource mysqli_connect([string hostname, [string username, [string passwd, [string dbname, [int port, [string socket]]]]]) /* {{{ proto resource mysqli_connect([string hostname [,string username [,string passwd [,string dbname [,int port [,string socket]]]]]])
open a connection to a mysql server */ Open a connection to a mysql server */
PHP_FUNCTION(mysqli_connect) PHP_FUNCTION(mysqli_connect)
{ {
MYSQL *mysql; MYSQL *mysql;
@ -99,8 +99,8 @@ PHP_FUNCTION(mysqli_connect)
} }
/* }}} */ /* }}} */
/* {{{ proto array mysqli_fetch_array (resource result, [int resulttype]) /* {{{ proto array mysqli_fetch_array (resource result [,int resulttype])
*/ Fetch a result row as an associative array, a numeric array, or both */
PHP_FUNCTION(mysqli_fetch_array) PHP_FUNCTION(mysqli_fetch_array)
{ {
php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
@ -108,7 +108,7 @@ PHP_FUNCTION(mysqli_fetch_array)
/* }}} */ /* }}} */
/* {{{ proto array mysqli_fetch_assoc (resource result) /* {{{ proto array mysqli_fetch_assoc (resource result)
*/ Fetch a result row as an associative array */
PHP_FUNCTION(mysqli_fetch_assoc) PHP_FUNCTION(mysqli_fetch_assoc)
{ {
php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MYSQLI_ASSOC); php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MYSQLI_ASSOC);
@ -116,7 +116,7 @@ PHP_FUNCTION(mysqli_fetch_assoc)
/* }}} */ /* }}} */
/* {{{ proto array mysqli_fetch_object (resource result) /* {{{ proto array mysqli_fetch_object (resource result)
*/ Fetch a result row as an object */
PHP_FUNCTION(mysqli_fetch_object) PHP_FUNCTION(mysqli_fetch_object)
{ {
php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MYSQLI_ASSOC); php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MYSQLI_ASSOC);
@ -127,8 +127,8 @@ PHP_FUNCTION(mysqli_fetch_object)
} }
/* }}} */ /* }}} */
/* {{{ proto resource mysqli_query(resource link, string query, [int resultmode]) /* {{{ proto resource mysqli_query(resource link, string query [,int resultmode])
*/ Send a MySQL query */
PHP_FUNCTION(mysqli_query) { PHP_FUNCTION(mysqli_query) {
MYSQL *mysql; MYSQL *mysql;
zval *mysql_link; zval *mysql_link;

View File

@ -413,7 +413,7 @@ void php_mysqli_profiler_report(PR_COMMON *current, int depth)
} }
/* }}} */ /* }}} */
/* {{{ proto bool mysqli_profiler (int flags, char *info, int port) /* {{{ proto bool mysqli_profiler (int flags, string info, int port)
*/ */
PHP_FUNCTION(mysqli_profiler) PHP_FUNCTION(mysqli_profiler)
{ {