xref: /PHP-8.0/ext/filter/tests/bug42718-2.phpt (revision d679f022)
1--TEST--
2Bug #42718 - 2 (unsafe_raw filter not applied when configured as default filter)
3--SKIPIF--
4<?php if (!extension_loaded("filter")) die("skip"); ?>
5--INI--
6display_errors=0
7filter.default=unsafe_raw
8filter.default_flags=
9--GET--
10a=1%00
11--FILE--
12<?php
13echo ini_get('filter.default') . "\n";
14echo ini_get('filter.default_flags') . "\n";
15?>
16--EXPECT--
17unsafe_raw
18