From: [EMAIL PROTECTED]
Operating system: Win98
PHP version: 4.2.3
PHP Bug Type: Reproducible crash
Bug description: Break causing crash
This script crashes php:
$stan_sql= "SELECT * FROM check_rozkaz ($id_roz)";
$start = time()+15;
$licz=0;
while ($start >= $obecna_godz){
$obecna_godz = time();
$trans = ibase_trans (IBASE_NOWAIT,$polaczenie);
$stan = ibase_query($trans , $stan_sql);
while ($row = ibase_fetch_object ($stan))
{
$nazwa_tabeli = $row->AT_1;
if ($nazwa_tabeli == "XT1")
{$licz++;
break 2;
}
}
ibase_commit($trans);
}
When I change Break to 1 or 3 it works but the script wait for the time
loop to end. This function worked on linux without crash.
--
Edit bug report at http://bugs.php.net/?id=19752&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19752&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19752&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19752&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19752&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19752&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19752&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19752&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19752&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19752&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19752&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19752&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=19752&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=19752&r=isapi