update : 2015.11.03
php.shukuma.com검색:
|
MysqlndUhConnection::getFieldCount(PECL mysqlnd-uh >= 1.0.0-alpha) MysqlndUhConnection::getFieldCount — Returns the number of columns for the most recent query 설명
public int MysqlndUhConnection::getFieldCount
( mysqlnd_connection
$connection
)Returns the number of columns for the most recent query. 인수
반환값Number of columns. 예제MysqlndUhConnection::getFieldCount() is not only executed after the invocation of a user space API call which maps directly to it but also called internally.
Example #1 MysqlndUhConnection::getFieldCount() example
<?php 위 예제의 출력: proxy::getFieldCount(array ( 0 => NULL, )) proxy::getFieldCount returns 0 int(0) proxy::getFieldCount(array ( 0 => NULL, )) proxy::getFieldCount returns 3 proxy::getFieldCount(array ( 0 => NULL, )) proxy::getFieldCount returns 3 int(3) 참고
|