php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11385 While with For loop inside, crashes PHP
Submitted: 2001-06-10 13:06 UTC Modified: 2001-07-22 13:07 UTC
From: nis at ubernissen dot dk Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.0.5 OS: Win98.2 and Compaq Alpha Tru64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nis at ubernissen dot dk
New email:
PHP Version: OS:

 

 [2001-06-10 13:06 UTC] nis at ubernissen dot dk
Tried this While with For loop inside on many diff. installations now, and allways with the same result.
PHP crashes and don't leave any messages anywhere.
There are other ways to deal with this probelm, but anyway...
It is not the use of ODBC, cause I tried with other function combinations to.
while( odbc_fetch_row( $db_cur)){
    for( $x=0; $x<$cur_length; $x++){
    $tmp2 = $odbc_result( $db_cur, $x);
  }
}

I don't have access to neither the WIn98.2 or Compaq Alpha Tru64's system, and can't get a backtrace.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-10 14:05 UTC] sniper@php.net
Please include a working script that can be used to reproduce this. Not just a part of it..
Also make it a self contained function ie. one that
doesn't use any databases, etc. IF it isn't the problem..

--Jani


 [2001-07-22 13:07 UTC] andy@php.net
no feedback after 35+ days.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 05:01:31 2024 UTC