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]*Moderator: General Moderators
Code: Select all
[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*Code: Select all
function foo