Bug #79650 [Opn->Ver]: php-win.exe 100% cpu lockup
| From: | cmb@php.net | Date: | Sun, 31 May 2020 11:31:04 +0000 |
| Subject: | Bug #79650 [Opn->Ver]: php-win.exe 100% cpu lockup | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-227253@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79650&edit=1
ID: 79650
Updated by: cmb@php.net
Reported by: lzqhwo at gmail dot com
Summary: php-win.exe 100% cpu lockup
-Status: Open
+Status: Verified
Type: Bug
-Package: *General Issues
+Package: Scripting Engine problem
Operating System: Windows 10
-PHP Version: 7.4.6
+PHP Version: 7.3
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
> php-win.exe should execute script and complete with no output
> displayed.
Indeed. That is the behavior of PHP 7.2 and likely previous
versions as well.
Previous Comments:
------------------------------------------------------------------------
[2020-05-28 19:15:48] lzqhwo at gmail dot com
Description:
------------
php-win.exe locks up with 100% cpu usage when a significant amount of data is echoed.
Test script:
---------------
$str = "";
for ($x=0; $x<500; $x++) {
$str .= "aaa bbb ccc ";
}
echo wordwrap($str);
Expected result:
----------------
php-win.exe should execute script and complete with no output displayed.
Actual result:
--------------
php-win.exe locks up causing 100% cpu usage.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79650&edit=1