3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match('/^(?=.*?[A-Z])(?=.*?[0-9])[a-zA-Z0-9]{8,}/u', 'az0Azertyaaaaaa', $matches); var_dump($matches);
Output for 4.3.0 - 7.1.0
array(1) { [0]=> string(15) "az0Azertyaaaaaa" }