PHP :: Bug #72024 :: microtime() leaks memory
[2016-04-14 14:34 UTC] maroszek at gmx dot net
Description:
------------
Just run the script and watch the memory consumption rise. It goes way beyond the specified memory limit, therefore i suspect a simple memory leak.
Not reproducable on 7.0.x.
Not reproducable on 5.4.x.
Bug must have been introduced with PHP 5.5. This is the first affected version.
Test script:
---------------
<?
while(true) { microtime(); }
Expected result:
----------------
Steady memory consumption.
Actual result:
--------------
Right before max_execution_time occurs, php.exe is consuming a few hundred megabytes of RAM.
[2016-07-07 12:29 UTC] maroszek at gmx dot net
[2016-07-08 04:58 UTC] pajoye@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: ab
[2016-07-08 09:50 UTC] maroszek at gmx dot net
[2016-07-08 13:07 UTC] jpauli@php.net
-Status: Assigned +Status: Closed
[2016-07-08 13:13 UTC] maroszek at gmx dot net