1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 23:18:13 +02:00
Files
archived-php-src/ext/standard/tests/strings/bug70720.phpt
T
Julien Pauli ff7ed9021c Fix #70720
2015-12-22 16:25:51 +01:00

12 lines
370 B
PHP

--TEST--
Bug #70720 (strip_tags() doesnt handle "xml" correctly)
--FILE--
<?php
var_dump(strip_tags('<?php $dom->test(); ?> this is a test'));
var_dump(strip_tags('<?php $xml->test(); ?> this is a test'));
var_dump(strip_tags('<?xml $xml->test(); ?> this is a test'));
?>
--EXPECTF--
string(15) " this is a test"
string(15) " this is a test"
string(15) " this is a test"