Searched refs:strip_tags (Results 1 – 25 of 38) sorted by path
12
/PHP-7.4/ |
H A D | NEWS | 1311 . Fixed bug #78814 (strip_tags allows / in tag name => whitelist bypass). 1705 . Fixed bug #78346 (strip_tags no longer handling nested php tags). (cmb) 1902 . Fixed bug #78346 (strip_tags no longer handling nested php tags). (cmb) 2074 . Fixed bug #78003 (strip_tags output change since PHP 7.3). (cmb)
|
H A D | UPGRADING | 340 . strip_tags() now also accepts an array of allowed tags: Instead of 341 strip_tags($str, '<a><p>') you can now write strip_tags($str, ['a', 'p']).
|
/PHP-7.4/Zend/tests/ |
H A D | bug36513.phpt | 6 …echo "'".trim(str_replace(" ", " ", htmlspecialchars_decode(strip_tags(highlight_string($s,1)…
|
H A D | bug61165.phpt | 2 Bug #61165 (Segfault - strip_tags()) 20 strip_tags($t); 21 strip_tags(new T);
|
/PHP-7.4/docs/ |
H A D | input-filter.md | 18 simple example all I am doing is calling `strip_tags()` on the data.
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_pconn_max_links.phpt | 76 $phpinfo = strip_tags(ob_get_contents()); 137 $phpinfo = strip_tags(ob_get_contents()); 175 $phpinfo = strip_tags(ob_get_contents());
|
/PHP-7.4/ext/standard/ |
H A D | basic_functions.c | 2827 PHP_FE(strip_tags, arginfo_strip_tags)
|
H A D | php_string.h | 79 PHP_FUNCTION(strip_tags);
|
H A D | string.c | 4871 PHP_FUNCTION(strip_tags) argument
|
/PHP-7.4/ext/standard/tests/filters/ |
H A D | strip_tags_filter.phpt | 2 string.strip_tags filter 6 stream_filter_append($fp, 'string.strip_tags'); 11 stream_filter_append($fp, 'string.strip_tags', STREAM_FILTER_WRITE, "<b>"); 16 stream_filter_append($fp, 'string.strip_tags', STREAM_FILTER_WRITE, ["b"]); 22 Deprecated: stream_filter_append(): The string.strip_tags filter is deprecated in %s on line %d 25 Deprecated: stream_filter_append(): The string.strip_tags filter is deprecated in %s on line %d 28 Deprecated: stream_filter_append(): The string.strip_tags filter is deprecated in %s on line %d
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | bug21453.phpt | 11 var_dump(strip_tags($test));
|
H A D | bug21744.phpt | 2 Bug #21744 (strip_tags misses exclamation marks in alt text) 10 print strip_tags($test, ''); 11 print strip_tags($test, '<a>');
|
H A D | bug22008.phpt | 2 Bug #22008 (strip_tags() eliminates too much) 18 echo trim(strip_tags($html, '<b>'))."\n";
|
H A D | bug23650.phpt | 2 Bug #23650 (strip_tags() removes hyphens) 15 echo strip_tags($str); 16 echo strip_tags($str, '<abc>');
|
H A D | bug40432.phpt | 2 Bug #40432 (strip_tags() fails with greater than in attribute) 5 echo strip_tags('<span title="test > all">this</span>') . "\n";
|
H A D | bug40637.phpt | 2 Bug #40637 (strip_tags() does not handle single quotes correctly) 7 var_dump(strip_tags($html));
|
H A D | bug40704.phpt | 2 Bug #40704 (strip_tags() does not handle single quotes correctly) 7 var_dump(strip_tags($html));
|
H A D | bug45485.phpt | 2 Bug #45485 (strip_tags and <?XML tag) 10 $s = strip_tags($s); 17 $s = strip_tags($s);
|
H A D | bug46578.phpt | 2 Bug #46578 (strip_tags() does not honor end-of-comment when it encounters a single quote) 6 var_dump(strip_tags('<!-- testing I\'ve been to mars -->foobar')); 8 var_dump(strip_tags('<a alt="foobar">foo<!-- foo! --></a>bar')); 10 var_dump(strip_tags('<a alt="foobar"/>foo<?= foo! /* <!-- "cool" --> */ ?>bar')); 12 var_dump(strip_tags('< ax')); 14 var_dump(strip_tags('<! a>')); 16 var_dump(strip_tags('<? ax'));
|
H A D | bug50847.phpt | 2 Bug #50847 (strip_tags() removes all tags greater than 1023 bytes long) 6 var_dump(strip_tags($var, "<param>"), strip_tags($var));
|
H A D | bug53319.phpt | 7 var_dump(strip_tags($str, '<input>')); 8 var_dump(strip_tags($str, '<br><input>') === $str); 9 var_dump(strip_tags($str)); 10 var_dump(strip_tags('<a/b>', '<a>'));
|
H A D | bug70720.phpt | 2 Bug #70720 (strip_tags() doesnt handle "xml" correctly) 5 var_dump(strip_tags('<?php $dom->test(); ?> this is a test')); 6 var_dump(strip_tags('<?php $xml->test(); ?> this is a test')); 7 var_dump(strip_tags('<?xml $xml->test(); ?> this is a test')); 10 var_dump(strip_tags("<span class=sf-dump-> this is a test</span>"));
|
H A D | bug78003.phpt | 2 Bug #78003 (strip_tags output change since PHP 7.3) 6 strip_tags('<foo<>bar>'), 7 strip_tags('<foo<!>bar>'), 8 strip_tags('<foo<?>bar>')
|
H A D | bug78346.phpt | 2 Bug #78346 (strip_tags no longer handling nested php tags) 6 var_dump(strip_tags($str));
|
H A D | bug78814.phpt | 2 Bug #78814 (strip_tags allows / in tag name => whitelist bypass) 5 echo strip_tags("<s/trong>b</strong>", "<strong>");
|
Completed in 67 milliseconds
12