3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $match = '/^view_[foo]{1}!?[.*?]$/i'; $test = 'view_foo'; preg_match_all($match, $test, $res); var_dump($res);
Output for 4.3.0 - 7.2.0
array(1) { [0]=> array(0) { } }