3v4l.org

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