Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55776 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94068 invoked from network); 11 Oct 2011 08:03:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Oct 2011 08:03:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:41785] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/50-26502-C48F39E4 for ; Tue, 11 Oct 2011 04:03:24 -0400 Received: by vwl1 with SMTP id 1so21125vwl.29 for ; Tue, 11 Oct 2011 01:03:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=LYIRxCFJ91wAmPPtjDF2hT1Arqt646gkipwNdCRMvzE=; b=Ek/0THf9zrljYjHdmblgJvxitYRzbC31CRcu0yhZMwhOi4/ckXRzxRdh94lTn2DcNA 3QuAzv7TSODk57Hc6ZDG/hgB+XVt0Eg0tTlgloNliTXwGDjGFlR5uW4e8EOnlv5w6k3H 79jGIzMupeoBlEpy7yIFu2BwN9AooC+/X+q4Y= Received: by 10.52.34.78 with SMTP id x14mr17099751vdi.122.1318320202144; Tue, 11 Oct 2011 01:03:22 -0700 (PDT) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.220.45.136 with HTTP; Tue, 11 Oct 2011 01:03:02 -0700 (PDT) In-Reply-To: References: Date: Tue, 11 Oct 2011 16:03:02 +0800 X-Google-Sender-Auth: Y1qmujUWVAZt-mZSup59iZM1qJ4 Message-ID: To: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: set_time_limit has no effect From: laruence@php.net (Laruence) Hi; sorry for noise, I think I found out why. ignore me. thanks 2011/10/11 Laruence : > Hi: > =C2=A0 =C2=A0with E_NOTICE open.... > > =C2=A0 =C2=A0and if I run the test script by php /tmp/test.php 2>log, =C2= =A0 =C2=A0the > timeout mechanism works agian... > > thanks > > 2011/10/11 Laruence : >> Hi: >> =C2=A0 =C2=A0 set_time_limit seems has no effect for this example(both C= LI, >> apache2handler) : http://pastebin.com/N3TxANhn >> > set_time_limit(1); >> >> while(1) { >> >> =C2=A0 =C2=A0$a =3D $arr['index_miss']; >> >> =C2=A0 =C2=A0$a =3D $arr['index_miss']; >> >> =C2=A0 =C2=A0$a =3D $arr['index_miss']; >> >> =C2=A0 =C2=A0$a =3D $arr['index_miss']; >> >> >> } >> >> =C2=A0 =C2=A0 but what is wired is , if I reduce the assignment statment= s to 1 >> in that while block, =C2=A0it seems works well... >> >> =C2=A0 =C2=A0 like: >> =C2=A0 =C2=A0> set_time_limit(1); >> >> while(1) { >> =C2=A0 =C2=A0$a =3D $arr['index_miss']; >> } >> >> >> =C2=A0 =C2=A0anyidea? >> >> thanks >> -- >> Laruence =C2=A0Xinchen Hui >> http://www.laruence.com/ >> > > > > -- > Laruence =C2=A0Xinchen Hui > http://www.laruence.com/ > --=20 Laruence =C2=A0Xinchen Hui http://www.laruence.com/