ID:               33863
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lmelloul at free dot fr
-Status:           Open
+Status:           Feedback
 Bug Type:         PDO related
 Operating System: win32
 PHP Version:      5.1.0b3
 New Comment:

Please try using this CVS snapshot:

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




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

[2005-07-26 11:20:10] lmelloul at free dot fr

Description:
------------
Error Apache.
The PDO object row is not reinitialize.
I need to write $PDOobj = null after use.
Not necessary with other fetch mode.

I Use extension=php_pdo_oci.dll

Reproduce code:
---------------
$st = $db->prepare("SELECT * FROM NIVEAU4");
$st->execute();
while($PDOobj = $st->fetch(PDO_FETCH_LAZY)) {
    echo "$PDOobj->CODNIV4 - $PDOobj->LIBNIV4 <br />";
    $PDOobj = null; // this statement repare the bug
}


Expected result:
----------------
Liste of code

Actual result:
--------------
Ok when I write $PDOobj = null
othewise Apache.exe - Application error
l'instuction à "0x00769c7a" emploie l'adresse mémore "0x00000017". la
mémoire ne peut être "read".



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


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

Reply via email to