3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(strip_tags('<?php $dom->test(); ?> this is a test')); var_dump(strip_tags('<?phpxml->phptest(); ?> this is a test'));
based on u6Z4V
Output for 5.6.19 - 5.6.28, 7.0.4 - 7.2.0
string(15) " this is a test" string(15) " this is a test"
Output for 5.3.21 - 5.6.18, 7.0.0 - 7.0.3
string(15) " this is a test" string(28) "phptest(); ?> this is a test"