xref: /PHP-7.0/ext/filter/tests/bug71063.phpt (revision a9026070)
1--TEST--
2Bug #71063 (filter_input(INPUT_ENV, ..) does not work)
3--SKIPIF--
4<?php if (!extension_loaded("filter")) die("skip"); ?>
5--ENV--
6PATH=/
7--INI--
8variables_order=E
9--FILE--
10<?php
11var_dump(count($_ENV['PATH']) > 0);
12var_dump(count(filter_input(INPUT_ENV, 'PATH')) > 0);
13?>
14--EXPECT--
15bool(true)
16bool(true)
17