1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Deprecate disabling report_memleaks INI directive (#19481)

RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_report_memleaks_ini_directive
This commit is contained in:
Alexandre Daubois
2025-08-16 14:04:34 +02:00
committed by GitHub
parent 7ca21d2e07
commit a84a82ed88
7 changed files with 32 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
--TEST--
Deprecated INI directive report_memleaks warning
--INI--
report_memleaks=0
--FILE--
<?php
echo "Testing deprecated report_memleaks INI directive.\n";
?>
--EXPECT--
Deprecated: PHP Startup: Directive 'report_memleaks' is deprecated in Unknown on line 0
Testing deprecated report_memleaks INI directive.