|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-07-26 11:26 UTC] tony2001@php.net
[2005-07-26 13:32 UTC] lmelloul at free dot fr
[2005-07-26 13:36 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 14:00:01 2025 UTC |
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".