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 7magic_quotes_gpc=1 8filter.default=unsafe_raw 9filter.default_flags= 10--GET-- 11a=1%00 12--FILE-- 13<?php 14echo ini_get('filter.default') . "\n"; 15echo ini_get('filter.default_flags') . "\n"; 16echo addcslashes($_GET['a'],"\0") . "\n"; 17?> 18--EXPECT-- 19unsafe_raw 20 211\0 22