3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url = "https://ubuntu.thomnet/work/csl_internet/brand/prs/"; $base_url = dirname(dirname( dirname( htmlentities( $url )))); echo $base_url . "\n"; ?>
Output for 4.3.0 - 7.1.0
https://ubuntu.thomnet/work