Code
- text.lib.php ➔ api_html_to_text()
- text.lib.php ➔ api_detect_encoding_html()
- text.lib.php ➔ api_set_encoding_html()
- text.lib.php ➔ api_get_title_html()
- text.lib.php ➔ api_detect_encoding_xml()
- text.lib.php ➔ api_convert_encoding_xml()
- text.lib.php ➔ api_utf8_encode_xml()
- text.lib.php ➔ api_utf8_decode_xml()
- text.lib.php ➔ _api_convert_encoding_xml()
- text.lib.php ➔ _api_convert_encoding_xml_callback()
- text.lib.php ➔ api_contains_asciimathml()
- text.lib.php ➔ api_contains_asciisvg()
- text.lib.php ➔ api_camel_case_to_underscore()
- text.lib.php ➔ api_underscore_to_camel_case()
- text.lib.php ➔ _api_camelize()
- text.lib.php ➔ api_trunc_str()
- text.lib.php ➔ domesticate()
- text.lib.php ➔ _make_url_clickable_cb()
- text.lib.php ➔ esc_url()
- text.lib.php ➔ _deep_replace()
- text.lib.php ➔ _make_web_ftp_clickable_cb()
- text.lib.php ➔ _make_email_clickable_cb()
- text.lib.php ➔ make_clickable()
- text.lib.php ➔ _split_str_by_whitespace()
- text.lib.php ➔ cut()
- text.lib.php ➔ float_format()
- text.lib.php ➔ get_last_week()
- text.lib.php ➔ get_week_from_day()
- text.lib.php ➔ substrwords()
- text.lib.php ➔ implode_with_key()
- text.lib.php ➔ format_file_size()
- text.lib.php ➔ return_datetime_from_array()
- text.lib.php ➔ bracketsToArray()
- text.lib.php ➔ underScoreToCamelCase()
If a method or function can return multiple different values and unless you are sure that you only can receive a single value in this context, we recommend to add an additional type check:
If this a common case that PHP Analyzer should handle natively, please let us know by opening an issue.