3v4l.org

run code in 200+ php & hhvm versions
<?php $attribute = '10123'; var_dump([$attribute, preg_match('/^\d{1,5}$/', $attribute)]); exit;
Output for 7.1.25 - 7.3.5
array(2) { [0]=> string(5) "10123" [1]=> int(1) }