ID:               40805
 Updated by:       [EMAIL PROTECTED]
 Reported By:      michael at bluemoon dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         InterBase related
 Operating System: Red Hat Ent. Linux WS rel 4
 PHP Version:      5.2.1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2007-03-14 18:06:58] michael at bluemoon dot com

Description:
------------
Script fails when it encounters ibase_execute() function; blank white
screen is displayed.

No problem in PHP 5.2.0. Stopped working in 5.2.1.

No exception is thrown. No errors/warnings shown when running w/
error_reporting(E_ALL).

If I insert die('Hello, world!') immediately before line containing
ibase_execute() statement, screen outputs "Hello, world!" If I insert
same die() statement after ibase_execute(), I just get a blank screen.

Reproduce code:
---------------
Not possible to paste a discrete, reproducible snippet from my own
codebase here, given the unique attributes of my database connection,
but this is the gist of what I am trying to do:

$query = "UPDATE CUSTOMER SET FIELD2 = ?, FIELD3 = ? WHERE FIELD1 =
'A'";

// $trh is resource ID of current transaction
if ($result = ibase_prepare($trh, $query)) {
  if (ibase_execute($result, 'B', 'C')) echo "Operation Successful";
  else echo "Operation Failed";
}

Expected result:
----------------
"Operation Successful" or "Operation Failed"

Actual result:
--------------
<blank screen>


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40805&edit=1

Reply via email to