3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'username1234_-'; preg_match('/[\w\d_-]{0,14}+/', $string, $match); var_dump($match);
Output for 4.3.5 - 7.2.0
array(1) { [0]=> string(14) "username1234_-" }
Output for 4.3.0 - 4.3.4
Warning: Compilation failed: internal error: code overflow at offset 15 in /in/VqGYe on line 3 array(0) { }