1--TEST-- 2Bug #69203 (FILTER_FLAG_STRIP_HIGH doesn't strip ASCII 127) 3--EXTENSIONS-- 4filter 5--FILE-- 6<?php 7var_dump(filter_var("\x7f", FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_HIGH)); 8var_dump(filter_var("\x7f", FILTER_UNSAFE_RAW, FILTER_FLAG_STRIP_HIGH)); 9var_dump(filter_var("\x7f", FILTER_SANITIZE_ENCODED, FILTER_FLAG_STRIP_HIGH)); 10var_dump(filter_var("\x7f", FILTER_SANITIZE_SPECIAL_CHARS, FILTER_FLAG_STRIP_HIGH)); 11?> 12--EXPECTF-- 13Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in %s on line %d 14string(0) "" 15string(0) "" 16string(0) "" 17string(0) "" 18