> I'm sorry, but I simply don't believe this -- mostly because I've > been doing it *without* the call-time reference operator since > 4.0.5 (and as I still have access to a PHP 4.0.5 installation, > I've just rechecked it to be sure). This code does, indeed, work > fine in 4.0.5:
Thank you for these comments. I try very hard to test before documenting something but I've never used OCI so decided to go out on a limb on this one. It was a bad ideam, I'll never push out a solution until it's completely confirmed again. > $stmt = OCIParse($conn, 'SELECT * FROM DOCS_STATUS'); > OCIExecute($stmt); > while (OCIFetchInto($stmt, $results)): > echo "<p>"; > foreach ($results as $col=>$val): > echo "$col=$val; "; > endforeach; > echo "</p>\n"; > endwhile; > > Where did you get this piece of (mis?)information from? I based the information off the bug report but mostly the user comments. After your post I've realized that the problems people experienced has nothing to do with the function but only because the introduction of that call time reference warning. Essentially, the proto in the docs (and php4 source) are wrong and people followed this wrong advice. These protos are all that needed changing. The phpdoc one has been changed, that note has been removed. Regards, Philip -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php