3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Beispiel 1 $txt = "#huhu #Teil1 ##hallo du arschi"; $headline = explode("#", $txt); $para = explode("##", $txt); echo $headline[1]; // Teil1 echo $para[0]; // Teil2 ?>
based on 3jbGj
Output for 4.3.0 - 7.2.0
huhu #huhu #Teil1