<?php $rexp='/<userinfo>.*?(\d+).*?<\/userinfo>/i'; echo 'start'; ?>
Standard input is empty
start1array(2) { [0]=> array(1) { [0]=> string(58) "<userinfo>Jsome text here 16586 more text here.</userinfo>" } [1]=> array(1) { [0]=> string(5) "16586" } }