3v4l.org

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