3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function sTAGS($textNt, $prm) { $textSt = strip_tags($textNt, $prm); $text = trim($textSt); //echo htmlentities($text); //echo 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. Anderer Text
Output for Arrow functions
Test-Absatz. Anderer Text
Output for Object typehint
Test-Absatz. Anderer Text
Output for Array change keys
Test-Absatz. Anderer Text
Output for Lexical anon
Test-Absatz. Anderer Text

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