version 1.1.1.3, 2013/07/22 01:31:55
|
version 1.1.1.4, 2013/10/14 08:02:25
|
Line 296 static const zend_function_entry mysql_functions[] = {
|
Line 296 static const zend_function_entry mysql_functions[] = {
|
#ifdef MYSQL_HAS_SET_CHARSET |
#ifdef MYSQL_HAS_SET_CHARSET |
PHP_FE(mysql_set_charset, arginfo_mysql_set_charset) |
PHP_FE(mysql_set_charset, arginfo_mysql_set_charset) |
#endif |
#endif |
/* for downwards compatability */ | /* for downwards compatibility */ |
PHP_FALIAS(mysql, mysql_db_query, arginfo_mysql_db_query) |
PHP_FALIAS(mysql, mysql_db_query, arginfo_mysql_db_query) |
PHP_FALIAS(mysql_fieldname, mysql_field_name, arginfo_mysql_field_name) |
PHP_FALIAS(mysql_fieldname, mysql_field_name, arginfo_mysql_field_name) |
PHP_FALIAS(mysql_fieldtable, mysql_field_table, arginfo_mysql_field_seek) |
PHP_FALIAS(mysql_fieldtable, mysql_field_table, arginfo_mysql_field_seek) |
Line 1918 PHP_FUNCTION(mysql_result)
|
Line 1918 PHP_FUNCTION(mysql_result)
|
|
|
/* |
/* |
johannes TODO: |
johannes TODO: |
Do 2 zend_parse_paramters calls instead of type "z" and switch below | Do 2 zend_parse_parameters calls instead of type "z" and switch below |
Q: String or long first? |
Q: String or long first? |
*/ |
*/ |
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|z", &result, &row, &field) == FAILURE) { |
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|z", &result, &row, &field) == FAILURE) { |