3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $char_set = 'a-z_'; $val = 'login_form'; var_dump(preg_quote($char_set, '/'));
Output for 5.3.0 - 7.1.0
string(5) "a\-z_"
Output for 4.3.0 - 5.2.17
string(4) "a-z_"