3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'categoryparameterusedpricing_1'; preg_match("/a-z_0-9/", $string, $matches); echo $matches[0];
based on 2dhIG
Output for 5.3.0 - 5.6.30, 7.0.0 - 7.2.0
Notice: Undefined offset: 0 in /in/kBN5a on line 6
Output for hhvm-3.10.1 - 3.17.3
Notice: Undefined index: 0 in /in/kBN5a on line 6
Output for 4.3.0 - 5.2.17
Notice: Undefined offset: 0 in /in/kBN5a on line 6