3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $starting_directory = "/44test/w3&$3"; if (!preg_match('/^[\p{L}0-9\s-]+$/u', str_replace("/", "" ,$starting_directory))) { echo "error"; }
based on 8ipPi
Output for 5.6.0 - 7.2.6
error