xref: /PHP-7.3/ext/filter/tests/bug44779.phpt (revision 5af586be)
1--TEST--
2Bug #44779 (filter returns NULL in CLI when it shouldn't)
3--SKIPIF--
4<?php if (!extension_loaded("filter")) die("skip"); ?>
5--FILE--
6<?php
7var_dump(filter_input(INPUT_SERVER, "PHP_SELF"));
8?>
9--EXPECTF--
10string(%d) "%s"
11