summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-04-07 10:56:30 +0000
committerWez Furlong <wez@php.net>2002-04-07 10:56:30 +0000
commit1f2344104fb22ef48b3a59382d8cf843d9ceb13a (patch)
tree88c96267707b1fee28503c9321b01eb2cff90255 /ext/standard/string.c
parentdc974a0299621cab657756b4048b781716da0490 (diff)
downloadphp-git-1f2344104fb22ef48b3a59382d8cf843d9ceb13a.tar.gz
fix for #16469
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r--ext/standard/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index fcec74a2ca..f6bda9a231 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -3330,7 +3330,7 @@ PHPAPI void php_strip_tags(char *rbuf, int len, int *stateptr, char *allow, int
{
char *tbuf, *buf, *p, *tp, *rp, c, lc;
int br, i=0;
- int state;
+ int state = 0;
if (stateptr)
state = *stateptr;