3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'user1234_-'; preg_match('/[\w\d_-]{0,14}/', $string, $match); var_dump($match);
Output for 4.3.0 - 7.3.0beta1
array(1) { [0]=> string(10) "user1234_-" }