|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-04 11:38 UTC] sniper@php.net
[2002-10-20 23:32 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 20 21:00:02 2025 UTC |
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.