1--TEST--
2Bug #70720 (strip_tags() doesnt handle "xml" correctly)
3--FILE--
4<?php
5var_dump(strip_tags('<?php $dom->test(); ?> this is a test'));
6var_dump(strip_tags('<?php $xml->test(); ?> this is a test'));
7var_dump(strip_tags('<?xml $xml->test(); ?> this is a test'));
8
9/* "->" case in HTML */
10var_dump(strip_tags("<span class=sf-dump-> this is a test</span>"));
11?>
12--EXPECTF--
13string(15) " this is a test"
14string(15) " this is a test"
15string(15) " this is a test"
16string(15) " this is a test"
17