3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo $key = preg_replace( '/[^a-zA-Z0-9\_]/','','sdsadsad-asdsadasdsd');
Output for 4.3.0 - 7.1.0
sdsadsadasdsadasdsd