]> granicus.if.org Git - php/commit
Added optional allowable_tags arguments to strip_tags() and fgetss() to
authorRasmus Lerdorf <rasmus@php.net>
Mon, 20 Sep 1999 15:50:56 +0000 (15:50 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Mon, 20 Sep 1999 15:50:56 +0000 (15:50 +0000)
commitc0dcedcafc9882c12bde1d39ebbefdfdd9aa51dd
treecd0192368527946a066708d4ca240c8c4df5fa32
parentbabad2694e7cfbfe079aa71cf2b68675a8d4411f
Added optional allowable_tags arguments to strip_tags() and fgetss() to
allow you to specify a string of tags that are not to be stripped

Could have used flex for this, and Andrew sent me a flex file to do this,
but I could do the same thing with only minor additions to the existing
state machine and the resulting code is much smaller and tighter.
ChangeLog
ext/standard/file.c
ext/standard/php3_string.h
ext/standard/string.c