1--TEST--
2ini_parse_quantity() function - warns when given inappropriate values
3--INI--
4error_reporting = E_ALL
5--FILE--
6<?php
7ini_parse_quantity('-1');
8ini_parse_quantity('1mb');
9ini_parse_quantity('256 then skip a few then g')
10?>
11--EXPECTF--
12Warning: Invalid quantity "1mb": unknown multiplier "b", interpreting as "1" for backwards compatibility in %sini_parse_quantity_warnings.php on line 3
13
14Warning: Invalid quantity "256 then skip a few then g", interpreting as "256 g" for backwards compatibility in %sini_parse_quantity_warnings.php on line 4
15