3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pattern = '/^(\d{10,64})$/'; $sample = '8189649999'; echo (int)preg_match( $pattern, $sample, $matches); print_r($matches);
based on Y8lSb
Output for 4.3.0 - 7.2.0
1Array ( [0] => 8189649999 [1] => 8189649999 )