1--TEST--
2ini_parse_quantity() function - basic test for ini_parse_quantity()
3--INI--
4error_reporting = E_ALL ^ E_WARNING
5--FILE--
6<?php
7foreach (array(
8    '-1',
9    '-0x412',
10    '0',
11    '1',
12    '1b',
13    '1k',
14    '1m',
15    '1g',
16    '1gb',
17    '14.2mb',
18    '14.2bm',
19    'boat'
20) as $input) {
21    echo ini_parse_quantity( $input ) . PHP_EOL;
22}
23?>
24--EXPECT--
25-1
26-1042
270
281
291
301024
311048576
321073741824
331
3414
3514680064
360
37