Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 583 Bytes

PhpLabel.md

File metadata and controls

33 lines (23 loc) · 583 Bytes

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()->isValid('person'); //true
v::phpLabel()->isValid('foo'); //true
v::phpLabel()->isValid('4ccess'); //false

Categorization

  • Strings

Changelog

Version Description
1.1.0 Created

See also: