资 源 简 介
swamper-class-php
General purpose PHP class to work with strings and files
What it does
The PHP class that contains methods to work with strings and files. Function names determine clearly what the method is doing:
is_utf8
safe_str
get_post
fix_str_for_js
js_unescape
ensure_amp
ensure_lt_gt
cut_last_160_160
cut_last_160_183
cut_last_br
ord_space
ord_underscore
ord_hypher
remove_tags
remove_ents
remove_comments
has_http
is_ip
write_file
clear_data
remove_dir_content
remove_bbcoded
clean_title
clean_xhtml
html_to_safe_str
random_anchor
Dependencies
PHP 5.2
Usage
```
文 件 列 表
index.html
README.md
README.wiki
swamper.class.php