|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2011-11-09 23:49 UTC] sixd@php.net
 
-Package: oci8
+Package: OCI8 related
  [2011-11-10 22:46 UTC] sixd@php.net
  [2011-11-10 22:51 UTC] sixd@php.net
 
-Status:      Open
+Status:      Closed
-Assigned To:
+Assigned To: sixd
  [2011-11-10 22:51 UTC] sixd@php.net
  [2012-04-18 09:47 UTC] laruence@php.net
  [2012-07-24 23:39 UTC] rasmus@php.net
  [2013-11-17 09:35 UTC] laruence@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ When pl/sql trow exeption ORA-01403 php don't show this Warning message. Reproduce code: --------------- $x = ''; $conn = oci_connect("scott", "tiger", "mydb"); //ORA-01403 bad Warning message (no pl/sql trace) $stid = oci_parse( $conn, 'Begin Select 1 Into :x From dual Where 1 = 2; End;' ); oci_bind_by_name($stid, ":x", $x); oci_execute($stid); //ORA-01476 good Warning message $stid = oci_parse( $conn, 'Begin Select 1/0 Into :x From dual; End;' ); oci_bind_by_name($stid, ":x", $x); oci_execute($stid); Expected result: ---------------- Warning: oci_execute() [function.oci-execute]: ORA-01403: no data found ORA-06512: at line 1 in /www/docs/rdw/bootstrap.php on line 8 Warning: oci_execute() [function.oci-execute]: ORA-01476: divisor is equal to zero ORA-06512: at line 1 in /www/docs/rdw/bootstrap.php on line 13 Actual result: -------------- Warning: oci_execute() [function.oci-execute]: OCI_NO_DATA in /www/docs/rdw/bootstrap.php on line 8 Warning: oci_execute() [function.oci-execute]: ORA-01476: divisor is equal to zero ORA-06512: at line 1 in /www/docs/rdw/bootstrap.php on line 13