自 PHP 5.4.0 起,已经废弃此别名。强烈建议不要应用此别名 。
Ved Prakash (2010-07-12 00:28:23)
To get number of rows from SELECT, use ocirowcount function instead of oci_num_rows().
Though this is an alias of oci_num_rows, the behavior for this is different as oci_num_rows will return you only rows affected by DML statements