xref: /PHP-8.2/ext/standard/tests/file/bug79099.phpt (revision 5217666a)
1--TEST--
2Bug #79099 (OOB read in php_strip_tags_ex)
3--FILE--
4<?php
5var_dump(strip_tags("<?\n\"\n"));
6var_dump(strip_tags("<\0\n!\n"));
7var_dump(strip_tags("<\0\n?\n"));
8?>
9--EXPECT--
10string(0) ""
11string(0) ""
12string(0) ""
13