Valid PHP Function Name RegEx
Posted: Sat Jun 20, 2009 6:22 pm
Hi,
The regex that sets out the boundaries for valid function names in PHP is:
Does anyone know if there is a quicker to test something against this pattern than preg_match?
The regex that sets out the boundaries for valid function names in PHP is:
Code: Select all
[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*