|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-23 21:31 UTC] abies@php.net
[2005-03-03 01:00 UTC] php-bugs at lists dot php dot net
[2009-11-13 20:42 UTC] tonne1 at s8zehn dot net
[2011-03-18 17:57 UTC] george dot benjamin at gmail dot com
[2011-03-23 00:13 UTC] office at hinter dot ro
[2014-07-14 17:59 UTC] newkipsoftware at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 19:00:01 2025 UTC |
Description: ------------ When calling executable procedure, php works good, that means that ibase_query returns FALSE and IBase_Errmsg() contains code and text of exception returned by stored procedure. However, when calling selectable procedure ("select a, b from procedure_name"), ibase_query returns TRUE and exception is returned as unhandlingable php warning when calling ibase_fetch_row/assoc/object. Reproduce code: --------------- $s = ibase_query ("select var from procedure_name"); If(!$s){ echo "FireBird returned error: ".IBase_Errmsg(); } Else{ while($d=ibase_fetch_row($s)){ echo $d[0]; } } Expected result: ---------------- FireBird returned error: Some exception returned by procedure_name Actual result: -------------- Warning: ibase_fetch_assoc() [function.ibase-fetch-assoc]: exception 1 Some exception returned by procedure_name in /var/.../script.php on line xx