3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $page='qwe.'; $matches = array(1=>'ololo'); preg_match('#([A-Za-z0-9\-\_]*)#', $page, $matches); var_dump($matches);
Output for 4.3.0 - 7.1.7
array(2) { [0]=> string(3) "qwe" [1]=> string(3) "qwe" }