Discussion :: Functions in PHP
- Which of the following are valid function names? 1. function() 2. €() 3. .function() 4. $function()
Answer : Option A
Explanation :
Except a) others are invalid names. According to the specified regular expression ([a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*), a function name like this one is valid.
Be The First To Comment