Bug #78986 [Opn->Fbk]: Memory Leak

From: Date: Wed, 18 Dec 2019 04:28:30 +0000
Subject: Bug #78986 [Opn->Fbk]: Memory Leak
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224375@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78986&edit=1 ID: 78986 Updated by: requinix@php.net Reported by: j124519951 at gmail dot com Summary: Memory Leak -Status: Open +Status: Feedback Type: Bug Package: Reproducible crash Operating System: Linux PHP Version: 7.4.0 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Seems fine. https://3v4l.org/LhvkT Do you have any Zend extensions activated? Is there any difference if you enable or disable opcache? Previous Comments: ------------------------------------------------------------------------ [2019-12-18 04:06:08] j124519951 at gmail dot com Description: ------------ When I run the test script in PHP 7.4.0, 100% run out of memory. Test script: --------------- <?php define('TEST_TEST', 1); class TestClass2 { function __construct() {} } class TestClass extends TestClass2 { var $test = [ TEST_TEST => 'test' ]; } new TestClass(); Actual result: -------------- Out of memory ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78986&edit=1

« previous php.bugs (#224375) next »