3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "WHERE 1=1 AND ( ( wp_usermeta.meta_key = 'mayo_location' AND wp_usermeta.meta_value IN ('418') ) ) AND (user_login LIKE '%a j sterr%' OR user_email LIKE '%a j sterr%')"; preg_match_all('/sterr/', $str, $matches, PREG_SET_ORDER); print_r(end($matches));
Output for 5.6.0 - 7.3.0alpha1
Array ( [0] => sterr )