3v4l.org

run code in 300+ PHP versions simultaneously
<?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));

preferences:
56.17 ms | 402 KiB | 5 Q