tree: remove some usages of the report_memleaks INI setting (#19407)

This commit is contained in:
Gina Peter Banyard 2025-08-07 22:17:24 +01:00 committed by GitHub
parent 1f131e3ae6
commit c5143c0b22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1 additions and 11 deletions

View file

@ -1,7 +1,5 @@
--TEST--
Bug #67368 (Memory leak with immediately dereferenced array in class constant)
--INI--
report_memleaks=1
--FILE--
<?php
class FooBar {

View file

@ -2,7 +2,6 @@
Bug #81104: Warning: "Failed to set memory limit to ... bytes" emitted after exit in debug
--INI--
memory_limit=5M
report_memleaks=0
--FILE--
<?php
#[AllowDynamicProperties]

View file

@ -3,8 +3,6 @@ Bug #26698 (Thrown exceptions while evaluating argument to pass as parameter cra
--FILE--
<?php
ini_set("report_memleaks", 0); // the exception thrown in this test results in a memory leak, which is fine
class ObjectOne
{
function getNone()

View file

@ -35,7 +35,6 @@ display_startup_errors = Off
log_errors = Off
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
docref_root = "/phpmanual/"
docref_ext = .html
@ -68,7 +67,7 @@ foreach($newdirs as $newdir) {
--EXPECTF--
*** Testing parse_ini_file() : variation ***
New include path is : %sparse_ini_file_variation3.dir1%sparse_ini_file_variation3.dir2%sparse_ini_file_variation3.dir3%S
array(9) {
array(8) {
["error_reporting"]=>
string(5) "30719"
["display_errors"]=>
@ -81,8 +80,6 @@ array(9) {
string(0) ""
["ignore_repeated_source"]=>
string(0) ""
["report_memleaks"]=>
string(1) "1"
["docref_root"]=>
string(11) "/phpmanual/"
["docref_ext"]=>

View file

@ -1,7 +1,5 @@
--TEST--
Memleaks if unserialize return a self-referenced array/object
--INI--
report_memleaks=1
--FILE--
<?php
function foo() {