xref: /PHP-8.0/Zend/tests/bug61087.phpt (revision bacd8202)
1--TEST--
2Bug #61087 (Memory leak in parse_ini_file when specifying invalid scanner mode)
3--FILE--
4<?php
5// the used file is actually irrelevant, so just use this file
6// even though it's not an .ini
7parse_ini_file(__FILE__, false, 100);
8?>
9--EXPECTF--
10Warning: Invalid scanner mode in %s on line %d
11