3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $e = array( ' ', ' <a href="/stores/locator" class="store-search" id="nav-find-store" tabindex="0"><span>find store</span> </a>', ' ', ' <ul class="nav-overlay" role="group">', ); var_dump(preg_grep('/nav-find-store/', $e));
Output for 4.3.0 - 7.2.0
array(1) { [1]=> string(109) " <a href="/stores/locator" class="store-search" id="nav-find-store" tabindex="0"><span>find store</span> </a>" }