ID: 42743 Updated by: [EMAIL PROTECTED] Reported By: pcdinh at gmail dot com -Status: Open +Status: Bogus Bug Type: OCI8 related Operating System: CentOs PHP Version: 5.2.4 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. See http://bugs.php.net/bug.php?id=42745 Previous Comments: ------------------------------------------------------------------------ [2007-09-24 09:26:31] pcdinh at gmail dot com Description: ------------ OCI8 said oci_num_rows returns TRUE on success or FALSE on failure. But when the first parameter is null, oci_num_rows returns null. Reproduce code: --------------- oci_num_rows(null) Expected result: ---------------- oci_num_rows(null) should return false because parameter must be a statement/resource. null statement is abnormal Actual result: -------------- oci_num_rows(null) return null ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42743&edit=1