3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $r = '<div class="form-group>'; $label = '<label class="control-label" for="id_f-variants-99999-is_active">Is active</label>'; $label = substr($r, 0, strpos($r, ">")); $label .= '>'; echo($label); echo($r);
Output for 4.3.0 - 7.2.0
<div class="form-group><div class="form-group>