3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $pattern = '/^\d{8}$/'; $subject=10231234; echo preg_match($pattern, $subject);
based on skkhh
Output for 4.3.0 - 7.1.0
1