search for: zend_get_parameters_ex

Displaying 1 result from an estimated 1 matches for "zend_get_parameters_ex".

2005 Dec 05
0
about php-ODBC , unixODBC, freetds and MSSQL server
...if ( nRows ) { printf( "%d rows fetched\n", nRows ); } } from odbc php module php_odbc.c : /* {{{ proto int odbc_num_rows(resource result_id) Get number of rows in a result */ PHP_FUNCTION(odbc_num_rows) { odbc_result *result; SDWORD rows; pval **pv_res; if (zend_get_parameters_ex(1, &pv_res) == FAILURE) { WRONG_PARAM_COUNT; } ZEND_FETCH_RESOURCE(result, odbc_result *, pv_res, -1, "ODBC result", le_result); SQLRowCount(result->stmt, &rows); RETURN_LONG(rows); } /* }}} */ so I get confuse, why an odbc client get the right result and the other don...