--TEST-- filter_var() and FILTER_SANITIZE_STRIPPED --SKIPIF-- --FILE-- Let me see you
Stripped down to the bone

", FILTER_SANITIZE_STRIPPED)); var_dump(filter_var("!@#$%^&*()><<>+_\"'

  • ", FILTER_SANITIZE_STRIPPED)); var_dump(filter_var("", FILTER_SANITIZE_STRIPPED)); var_dump(filter_var("

    Let me see you
    Stripped down to the bone

    ", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STRIP_LOW)); var_dump(filter_var("!@#$%^&*()><<>+_\"'

  • ", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STRIP_LOW)); var_dump(filter_var("", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STRIP_LOW)); var_dump(filter_var("

    Let me see you
    Stripped down to the bone

    ", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STRIP_HIGH)); var_dump(filter_var("!@#$%^&*()><<>+_\"'

  • ", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STRIP_HIGH)); var_dump(filter_var("", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STRIP_HIGH)); echo "Done\n"; ?> --EXPECT-- string(40) "Let me see you Stripped down to the bone" string(11) "!@#$%^&*()>" string(0) "" string(40) "Let me see you Stripped down to the bone" string(11) "!@#$%^&*()>" string(0) "" string(40) "Let me see you Stripped down to the bone" string(11) "!@#$%^&*()>" string(0) "" Done