3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $o = '<label for="id_title" class="control-label">Title</label>'; #$label = strstr('<label for="id_title" class="control-label">Title</label>', '>'); $o = substr($o, 0, strpos($o, ">")); #echo($label); echo($o);
Output for 4.3.0 - 7.1.0
<label for="id_title" class="control-label"