PHP/File Directory/Stream Filter
Версия от 10:37, 26 мая 2010; (обсуждение)
stream_filter_append
<?php
$blog = <<< blog
Do you write blog?
blog;
$fh = fopen("filter.html", "w");
stream_filter_append($fh, "string.strip_tags", STREAM_FILTER_WRITE, "<br>");
fwrite($fh, $blog);
fclose($fh);
?>
stream_get_filters
<?php
print_r(stream_get_filters());
?>