stream_filter_append : Stream Filter « File Directory « PHP






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);
?>

           
       








Related examples in the same category

1.stream_get_filters