3v4l.org

run code in 300+ PHP versions simultaneously
<?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);

preferences:
33.81 ms | 402 KiB | 5 Q