3v4l.org

run code in 200+ 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($variable, 0, strpos($o, ">")); #echo($label); echo($o);
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: variable in /in/kJtCY on line 4
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: variable in /in/kJtCY on line 4