ExamVeda
Login
Home
This question belongs to PHP Functions
Functions
?

Which of the following are valid function names? 1. function() 2. €() 3. .function() 4. $function()

Answer & Solution
Correct Answer: Option A
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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.