Bug #79334 [Asn->Opn]: first sleep() not working

From: Date: Thu, 26 Aug 2021 21:11:17 +0000
Subject: Bug #79334 [Asn->Opn]: first sleep() not working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236100@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79334&edit=1 ID: 79334 Updated by: cmb@php.net Reported by: abolfazl dot ziaratban at gmail dot com Summary: first sleep() not working -Status: Assigned +Status: Open Type: Bug Package: *General Issues Operating System: OpenBSD 6.5 PHP Version: 7.4.11 -Assigned To: cmb +Assigned To: Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2021-08-26 20:59:54] cmb@php.net > This seems to be a bug in PHP-FPM on the OpenBSD platform. This is pretty strange, but maybe other OpenBSD PHP-FPM user can confirm this. ------------------------------------------------------------------------ [2021-08-26 18:24:36] abolfazl dot ziaratban at gmail dot com Oh, something went wrong. This is the real result for php-fpm. In PHP-FPM (by https://man.openbsd.org/httpd.8) : int(22527) string(8) "18:05:54" int(0) string(8) "18:05:55" ------------------------------------------------------------------------ [2021-08-26 18:18:10] abolfazl dot ziaratban at gmail dot com Mr Christoph Becker I tested on OpenBSD 6.8 and php 7.4.11 In CLI : int(22527) string(8) "18:06:30" int(0) string(8) "18:06:40" In PHP-FPM (by https://man.openbsd.org/httpd.8) : int(22527) string(8) "18:06:30" int(0) string(8) "18:06:40" This seems to be a bug in PHP-FPM on the OpenBSD platform. ------------------------------------------------------------------------ [2021-08-26 18:10:49] abolfazl dot ziaratban at gmail dot com Christoph Becker ------------------------------------------------------------------------ [2021-08-24 12:30:30] cmb@php.net Is this still an issue for you with any of the actively supported PHP versions[1]? If so, what does the following script output: <?php var_dump(error_reporting(-1)); var_dump(date('H:i:s')); var_dump(sleep(10)); var_dump(date('H:i:s')); ?> [1] <https://www.php.net/supported-versions.php> ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=79334 -- Edit this bug report at https://bugs.php.net/bug.php?id=79334&edit=1

« previous php.bugs (#236100) next »