3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function sTAGS($text, $prm) { $text = strip_tags($text, $prm); $text = trim($text); $text = str_replace(' ','',$text); $text = htmlentities($text); $text = htmlentities($text, ENT_QUOTES); echo html_entity_decode($text); } $txt = ' <p>Test-Absatz. </p><a href="#fragment"> Anderer Text</a>'; sTAGS($txt, ""); ?>

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
Test-Absatz.AndererText
Output for Array change keys
Test-Absatz.AndererText
Output for Lexical anon
Test-Absatz.AndererText

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page