3v4l.org

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

preferences:
120.25 ms | 1980 KiB | 5 Q