BTW, the simplest regex test for 1 or more digits is: 

```php
return preg_match( '/^\d+$/', $value );
```