3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match(<<<EOD % <((?i)password(?-i))> \s*+ (?P<password>.*?) \s* </\1> %x EOD , '<Password> toto </Password>', $match); var_dump($match);
based on UR93B
Output for 4.3.0 - 7.2.0
array(0) { }