#include "php_mysqli.h"
-/* {{{ proto mixed mysqli_affected_rows(resource link)
+/* {{{ proto mixed mysqli_affected_rows(object link)
Get number of affected rows in previous MySQL operation */
PHP_FUNCTION(mysqli_affected_rows)
{
}
/* }}} */
-/* {{{ proto bool mysqli_autocommit(resource link, bool mode)
+/* {{{ proto bool mysqli_autocommit(object link, bool mode)
Turn auto commit on or of */
PHP_FUNCTION(mysqli_autocommit)
{
}
/* }}} */
-/* {{{ proto bool mysqli_bind_param(resource stmt, mixed variable, int type [,mixed,....])
+/* {{{ proto bool mysqli_bind_param(object stmt, mixed variable, int type [,mixed,....])
Bind variables to a prepared statement as parameters */
PHP_FUNCTION(mysqli_bind_param)
{
}
/* }}} */
-/* {{{ proto bool mysqli_bind_result(resource stmt, mixed var, int len [,mixed,int....])
+/* {{{ proto bool mysqli_bind_result(object stmt, mixed var, int len [,mixed,int....])
Bind variables to a prepared statement for result storage */
/* TODO:
}
/* }}} */
-/* {{{ proto bool mysqli_change_user(resource link, string user, string password, string database)
+/* {{{ proto bool mysqli_change_user(object link, string user, string password, string database)
Change logged-in user of the active connection */
PHP_FUNCTION(mysqli_change_user)
{
}
/* }}} */
-/* {{{ proto string mysqli_character_set_name(resource link)
+/* {{{ proto string mysqli_character_set_name(object link)
Returns the name of the character set used for this connection */
PHP_FUNCTION(mysqli_character_set_name)
{
}
/* }}} */
-/* {{{ proto bool mysqli_close(resource link)
+/* {{{ proto bool mysqli_close(object link)
Close connection */
PHP_FUNCTION(mysqli_close)
{
}
/* }}} */
-/* {{{ proto bool mysqli_commit(resource link)
+/* {{{ proto bool mysqli_commit(object link)
Commit outstanding actions and close transaction */
PHP_FUNCTION(mysqli_commit)
{
}
/* }}} */
-/* {{{ proto void mysqli_data_seek(resource result)
+/* {{{ proto void mysqli_data_seek(object result)
Move internal result pointer */
PHP_FUNCTION(mysqli_data_seek)
{
}
/* }}} */
-/* {{{ proto void mysqli_disable_reads_from_master(resource link)
+/* {{{ proto void mysqli_disable_reads_from_master(object link)
*/
PHP_FUNCTION(mysqli_disable_reads_from_master)
{
}
/* }}} */
-/* {{{ proto void mysqli_disable_rpl_parse(resource link)
+/* {{{ proto void mysqli_disable_rpl_parse(object link)
*/
PHP_FUNCTION(mysqli_disable_rpl_parse)
{
}
/* }}} */
-/* {{{ proto bool mysqli_dump_debug_info(resource link)
+/* {{{ proto bool mysqli_dump_debug_info(object link)
*/
PHP_FUNCTION(mysqli_dump_debug_info)
{
}
/* }}} */
-/* {{{ proto void mysqli_enable_reads_from_master(resource link)
+/* {{{ proto void mysqli_enable_reads_from_master(object link)
*/
PHP_FUNCTION(mysqli_enable_reads_from_master)
{
}
/* }}} */
-/* {{{ proto void mysqli_enable_rpl_parse(resource link)
+/* {{{ proto void mysqli_enable_rpl_parse(object link)
*/
PHP_FUNCTION(mysqli_enable_rpl_parse)
{
}
/* }}} */
-/* {{{ proto int mysqli_errno(resource link)
+/* {{{ proto int mysqli_errno(object link)
Returns the numerical value of the error message from previous MySQL operation */
PHP_FUNCTION(mysqli_errno)
{
}
/* }}} */
-/* {{{ proto string mysqli_error(resource link)
+/* {{{ proto string mysqli_error(object link)
Returns the text of the error message from previous MySQL operation */
PHP_FUNCTION(mysqli_error)
{
}
/* }}} */
-/* {{{ proto int mysqli_execute(resource stmt)
+/* {{{ proto int mysqli_execute(object stmt)
Execute a prepared statement */
PHP_FUNCTION(mysqli_execute)
{
}
/* }}} */
-/* {{{ proto int mysqli_fetch(resource stmt)
+/* {{{ proto int mysqli_fetch(object stmt)
Fetch results from a prepared statement into the bound variables */
PHP_FUNCTION(mysqli_fetch)
{
}
/* }}} */
-/* {{{ proto int mysqli_fetch_field (resource result)
+/* {{{ proto int mysqli_fetch_field (object result)
Get column information from a result and return as an object */
PHP_FUNCTION(mysqli_fetch_field)
{
}
/* }}} */
-/* {{{ proto int mysqli_fetch_fields (resource result)
+/* {{{ proto int mysqli_fetch_fields (object result)
Return array of objects containing field meta-data */
PHP_FUNCTION(mysqli_fetch_fields)
{
}
/* }}} */
-/* {{{ proto int mysqli_fetch_field_direct (resource result, int offset)
+/* {{{ proto int mysqli_fetch_field_direct (object result, int offset)
Fetch meta-data for a single field */
PHP_FUNCTION(mysqli_fetch_field_direct)
{
}
/* }}} */
-/* {{{ proto array mysqli_fetch_lengths (resource result)
+/* {{{ proto array mysqli_fetch_lengths (object result)
Get the length of each output in a result */
PHP_FUNCTION(mysqli_fetch_lengths)
{
}
/* }}} */
-/* {{{ proto array mysqli_fetch_row (resource result)
+/* {{{ proto array mysqli_fetch_row (object result)
Get a result row as an enumerated array */
PHP_FUNCTION(mysqli_fetch_row)
{
}
/* }}} */
-/* {{{ proto int mysqli_field_count(resource link)
+/* {{{ proto int mysqli_field_count(object link)
Fetch the number of fields returned by the last query for the given link
*/
PHP_FUNCTION(mysqli_field_count)
}
/* }}} */
-/* {{{ proto int mysqli_field_seek(resource link, int fieldnr)
+/* {{{ proto int mysqli_field_seek(object link, int fieldnr)
Set result pointer to a specified field offset
*/
PHP_FUNCTION(mysqli_field_seek)
}
/* }}} */
-/* {{{ proto int mysqli_field_tell(resource result)
+/* {{{ proto int mysqli_field_tell(object result)
Get current field offset of result pointer */
PHP_FUNCTION(mysqli_field_tell)
{
}
/* }}} */
-/* {{{ proto int mysqli_free_result(resource result)
+/* {{{ proto int mysqli_free_result(object result)
Free query result memory for the given result handle */
PHP_FUNCTION(mysqli_free_result)
{
}
/* }}} */
-/* {{{ proto string mysqli_get_host_info (resource link)
+/* {{{ proto string mysqli_get_host_info (object link)
Get MySQL host info */
PHP_FUNCTION(mysqli_get_host_info)
{
}
/* }}} */
-/* {{{ proto string mysqli_get_server_info(resource link)
+/* {{{ proto string mysqli_get_server_info(object link)
Get MySQL server info */
PHP_FUNCTION(mysqli_get_server_info)
{
/* }}} */
-/* {{{ proto int mysqli_get_server_version(resource link)
+/* {{{ proto int mysqli_get_server_version(object link)
Return the MySQL version for the server referenced by the given link */
PHP_FUNCTION(mysqli_get_server_version)
{
/* }}} */
-/* {{{ proto string mysqli_info(resource link)
+/* {{{ proto string mysqli_info(object link)
Get information about the most recent query */
PHP_FUNCTION(mysqli_info)
{
}
/* }}} */
-/* {{{ proto mixed mysqli_insert_id(resource link)
+/* {{{ proto mixed mysqli_insert_id(object link)
Get the ID generated from the previous INSERT operation */
PHP_FUNCTION(mysqli_insert_id)
{
}
/* }}} */
-/* {{{ proto bool mysqli_kill(resource link, int processid)
+/* {{{ proto bool mysqli_kill(object link, int processid)
Kill a mysql process on the server */
PHP_FUNCTION(mysqli_kill)
{
}
/* }}} */
-/* {{{ proto bool mysqli_master_query(resource link, string query)
+/* {{{ proto bool mysqli_master_query(object link, string query)
Enforce execution of a query on the master in a master/slave setup */
PHP_FUNCTION(mysqli_master_query) {
MYSQL *mysql;
}
/* }}} */
-/* {{{ proto int mysqli_num_fields(resource result)
+/* {{{ proto int mysqli_num_fields(object result)
Get number of fields in result */
PHP_FUNCTION(mysqli_num_fields)
{
}
/* }}} */
-/* {{{ proto int mysqli_num_rows(resource result)
+/* {{{ proto int mysqli_num_rows(object result)
Get number of rows in result */
PHP_FUNCTION(mysqli_num_rows)
{
}
/* }}} */
-/* {{{ proto bool mysqli_options(resource link, int flags, mixed values)
+/* {{{ proto bool mysqli_options(object link, int flags, mixed values)
Set options */
PHP_FUNCTION(mysqli_options)
{
}
/* }}} */
-/* {{{ proto int mysqli_param_count(resource stmt) {
+/* {{{ proto int mysqli_param_count(object stmt) {
Return the number of parameter for the given statement */
PHP_FUNCTION(mysqli_param_count)
{
}
/* }}} */
-/* {{{ proto int mysqli_ping(resource link)
+/* {{{ proto int mysqli_ping(object link)
Ping a server connection or reconnect if there is no connection */
PHP_FUNCTION(mysqli_ping)
{
}
/* }}} */
-/* {{{ proto resource mysqli_prepare(resource link, string query)
+/* {{{ proto resource mysqli_prepare(object link, string query)
Prepare a SQL statement for execution */
PHP_FUNCTION(mysqli_prepare)
{
}
/* }}} */
-/* {{{ proto resource mysqli_prepare_result(resource stmt)
+/* {{{ proto resource mysqli_prepare_result(object stmt)
*/
PHP_FUNCTION(mysqli_prepare_result)
{
}
/* }}} */
-/* {{{ proto bool mysqli_read_query_result(resource link)
+/* {{{ proto bool mysqli_read_query_result(object link)
*/
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 [,int flags]]]]]]])
+/* {{{ proto bool mysqli_real_connect(object link [,string hostname [,string username [,string passwd [,string dbname [,int port [,string socket [,int flags]]]]]]])
Open a connection to a mysql server */
PHP_FUNCTION(mysqli_real_connect)
{
}
/* }}} */
-/* {{{ proto bool mysqli_real_query(resource link, string query)
+/* {{{ proto bool mysqli_real_query(object link, string query)
Binary-safe version of mysql_query() */
PHP_FUNCTION(mysqli_real_query)
{
}
/* }}} */
-/* {{{ proto string mysqli_real_escape_string(resource link, string escapestr)
+/* {{{ proto string mysqli_real_escape_string(object link, string escapestr)
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) {
MYSQL *mysql;
}
/* }}} */
-/* {{{ proto bool mysqli_reload (resource link)
+/* {{{ proto bool mysqli_reload (object link)
*/
PHP_FUNCTION(mysqli_reload)
{
}
/* }}} */
-/* {{{ proto bool mysqli_rollback(resource link)
+/* {{{ proto bool mysqli_rollback(object link)
Undo actions from current transaction */
PHP_FUNCTION(mysqli_rollback)
{
}
/* }}} */
-/* {{{ proto int mysqli_rpl_parse_enabled(resource link)
+/* {{{ proto int mysqli_rpl_parse_enabled(object link)
*/
PHP_FUNCTION(mysqli_rpl_parse_enabled)
{
}
/* }}} */
-/* {{{ proto bool mysqli_rpl_probe(resource link)
+/* {{{ proto bool mysqli_rpl_probe(object link)
*/
PHP_FUNCTION(mysqli_rpl_probe)
{
}
/* }}} */
-/* {{{ proto bool mysqli_send_long_data(resource stmt, int param_nr, string data)
+/* {{{ proto bool mysqli_send_long_data(object stmt, int param_nr, string data)
*/
PHP_FUNCTION(mysqli_send_long_data)
{
}
/* }}} */
-/* {{{ proto bool mysqli_send_query(resource link, string query)
+/* {{{ proto bool mysqli_send_query(object link, string query)
*/
PHP_FUNCTION(mysqli_send_query)
{
}
/* }}} */
-/* {{{ proto bool mysqli_slave_query(resource link, string query)
+/* {{{ proto bool mysqli_slave_query(object link, string query)
Enforce execution of a query on a slave in a master/slave setup */
PHP_FUNCTION(mysqli_slave_query)
{
}
/* }}} */
-/* {{{ proto mixed mysqli_stmt_affected_rows(resource stmt)
+/* {{{ proto mixed mysqli_stmt_affected_rows(object stmt)
Return the number of rows affected in the last query for the given link */
PHP_FUNCTION(mysqli_stmt_affected_rows)
{
}
/* }}} */
-/* {{{ proto bool mysqli_stmt_close(resource stmt)
+/* {{{ proto bool mysqli_stmt_close(object stmt)
Close statement */
PHP_FUNCTION(mysqli_stmt_close)
{
}
/* }}} */
-/* {{{ proto string mysqli_select_db(resource link, string dbname)
+/* {{{ proto string mysqli_select_db(object link, string dbname)
Select a MySQL database */
PHP_FUNCTION(mysqli_select_db)
{
}
/* }}} */
-/* {{{ proto string mysqli_sqlstate(resource link)
+/* {{{ proto string mysqli_sqlstate(object link)
Returns the SQLSTATE error from previous MySQL operation */
#if MYSQL_VERSION_ID >= 40101
PHP_FUNCTION(mysqli_sqlstate)
#endif
/* }}} */
-/* {{{ proto string mysqli_ssl_set(resource link [,string key [,string cert [,string ca [,string capath [,string cipher]]]]])
+/* {{{ proto string mysqli_ssl_set(object link [,string key [,string cert [,string ca [,string capath [,string cipher]]]]])
*/
PHP_FUNCTION(mysqli_ssl_set)
{
}
/* }}} */
-/* {{{ proto string mysqli_stat(resource link)
+/* {{{ proto string mysqli_stat(object link)
Get current system status */
PHP_FUNCTION(mysqli_stat)
{
/* }}} */
-/* {{{ proto int mysqli_stmt_errno(resource stmt)
+/* {{{ proto int mysqli_stmt_errno(object stmt)
*/
PHP_FUNCTION(mysqli_stmt_errno)
{
}
/* }}} */
-/* {{{ proto string mysqli_stmt_error(resource stmt)
+/* {{{ proto string mysqli_stmt_error(object stmt)
*/
PHP_FUNCTION(mysqli_stmt_error)
{
}
/* }}} */
-/* {{{ proto string mysqli_stmt_error(resource stmt)
+/* {{{ proto string mysqli_stmt_error(object stmt)
*/
#if MYSQL_VERSION_ID >= 40101
PHP_FUNCTION(mysqli_stmt_sqlstate)
#endif
/* }}} */
-/* {{{ proto resource mysqli_store_result(resource link)
+/* {{{ proto resource mysqli_store_result(object link)
Buffer result set on client */
PHP_FUNCTION(mysqli_store_result)
{
}
/* }}} */
-/* {{{ proto int mysqli_thread_id(resource link)
+/* {{{ proto int mysqli_thread_id(object link)
Return the current thread ID */
PHP_FUNCTION(mysqli_thread_id)
{
/* }}} */
-/* {{{ proto resource mysqli_use_result(resource link)
+/* {{{ proto resource mysqli_use_result(object link)
Directly retrieve query results - do not buffer results on client side */
PHP_FUNCTION(mysqli_use_result)
{
}
/* }}} */
-/* {{{ proto resource mysqli_warning_count (resource link)
+/* {{{ proto resource mysqli_warning_count (object link)
Return number of warnings from the last query for the given link */
PHP_FUNCTION(mysqli_warning_count)
{