3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $psm_name = 'Eur-Asia'; if ((preg_match("/^[a-zA-Z0-9&@#_.^\-\s\'\"]+$/", $psm_name))) { echo "true"; }else{ echo "false"; }
based on vWvBA
Output for 4.3.0 - 7.2.0
true