Skip to content

Commit 69e6ff4

Browse files
committed
Add test
1 parent 8f6c1b6 commit 69e6ff4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--TEST--
2+
Test ini setting with invalid quantity
3+
--EXTENSIONS--
4+
zend_test
5+
--INI--
6+
zend_test.quantity_value=1MB
7+
--FILE--
8+
<?php
9+
10+
var_dump(ini_get("zend_test.quantity_value"));
11+
--EXPECTF--
12+
Warning: Invalid "zend_test.quantity_value" setting. Invalid quantity "1MB": unknown multipler "B", interpreting as "1" for backwards compatibility in %s on line %d
13+
string(3) "1MB"

0 commit comments

Comments
 (0)