]> granicus.if.org Git - php/commit
Fix #78346: strip_tags no longer handling nested php tags
authorChristoph M. Becker <cmbecker69@gmx.de>
Fri, 2 Aug 2019 15:03:20 +0000 (17:03 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Fri, 2 Aug 2019 15:03:20 +0000 (17:03 +0200)
commita87ef5e3ddfdb3083c2b62bb25835b74d9a3d083
treeb602d6b043a6994c3d3c4ba1a6304ae042644e4b
parent81efd489db387a6ab3c9bcafdfd65e304cf2ab08
Fix #78346: strip_tags no longer handling nested php tags

When the strip tags state machine has been flattened, an if statement
has mistakenly been treated as else if.  We fix this, and also simplify
a bit right away.
NEWS
ext/standard/string.c
ext/standard/tests/strings/bug78346.phpt [new file with mode: 0644]