mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
tree: remove some usages of the report_memleaks INI setting (#19407)
This commit is contained in:
parent
1f131e3ae6
commit
c5143c0b22
5 changed files with 1 additions and 11 deletions
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
Bug #67368 (Memory leak with immediately dereferenced array in class constant)
|
||||
--INI--
|
||||
report_memleaks=1
|
||||
--FILE--
|
||||
<?php
|
||||
class FooBar {
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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"]=>
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
Memleaks if unserialize return a self-referenced array/object
|
||||
--INI--
|
||||
report_memleaks=1
|
||||
--FILE--
|
||||
<?php
|
||||
function foo() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue