Bug #80641 [Opn->Fbk]: Timeout Problem

From: Date: Mon, 18 Jan 2021 17:39:11 +0000
Subject: Bug #80641 [Opn->Fbk]: Timeout Problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231616@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80641&edit=1 ID: 80641 Updated by: cmb@php.net Reported by: BaghalAghdam dot sajad at Gmail dot com Summary: Timeout Problem -Status: Open +Status: Feedback Type: Bug Package: PHP options/info functions Operating System: Linux/Windows PHP Version: 7.4.14 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: This works for me as expected (PHP-7.4 on Windows). Note that set_time_limit($x) increases the timeout set via max_execution_time by $x seconds, so make sure that your max_execution_time is not set to a large value or even 0. Previous Comments: ------------------------------------------------------------------------ [2021-01-18 17:25:54] BaghalAghdam dot sajad at Gmail dot com Description: ------------ Hello. I was test my code, while I'm using this code: set_time_limit(5); $e = 0; while(true){ $e++; } keeps alive and not getting timeout error. I changed version to php7.3, Fixed. Test script: --------------- set_time_limit(5); $e = 0; while(true){ $e++; } Expected result: ---------------- Nothing ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80641&edit=1

« previous php.bugs (#231616) next »