|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79650 php-win.exe 100% cpu lockup
Submitted: 2020-05-28 19:15 UTC Modified: 2020-05-31 11:31 UTC
Avg. Score:2.5 ± 1.5
Reproduced:1 of 2 (50.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: lzqhwo at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 7.3 OS: Windows 10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
48 + 2 = ?
Subscribe to this entry?

 [2020-05-28 19:15 UTC] lzqhwo at gmail dot com
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.


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-05-31 11:31 UTC]
-Status: Open +Status: Verified -Package: *General Issues +Package: Scripting Engine problem -PHP Version: 7.4.6 +PHP Version: 7.3 -Assigned To: +Assigned To: cmb
 [2020-05-31 11:31 UTC]
> 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.
 [2020-05-31 11:32 UTC]
The following pull request has been associated:

Patch Name: Fix #79650: php-win.exe 100% cpu lockup
On GitHub:
 [2020-06-01 11:27 UTC]
Automatic comment on behalf of
Log: Fix #79650: php-win.exe 100% cpu lockup
 [2020-06-01 11:27 UTC]
-Status: Verified +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 13 21:01:33 2024 UTC