If the site is running on a local server, then the validation is normal. But if we run nginx + apache, professionally configured on the web server, the validator returns false if we pass the values' user_id = 12, or any other
PHP version is the same.
['user_id', 'string', 'length' => [1, 15]], Why?
12as the same string. - user207618