mirror of
https://github.com/Respect/Validation.git
synced 2024-05-15 20:56:40 +02:00
10df3211f5
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
586 B
586 B
PhpLabel
PhpLabel()
Validates if a value is considered a valid PHP Label, so that it can be used as a variable, function or class name, for example.
Reference: http://php.net/manual/en/language.variables.basics.php
v::phpLabel()->validate('person'); //true
v::phpLabel()->validate('foo'); //true
v::phpLabel()->validate('4ccess'); //false
Categorization
- Strings
Changelog
Version | Description |
---|---|
1.1.0 | Created |
See also: