3v4l.org

run code in 500+ PHP versions simultaneously
<?php $href = "test#content"; $href = explode('#', $href); $href = $href['0']; echo $href;

preferences:
100.54 ms | 1932 KiB | 5 Q