Discussion Forum : Php Filter
Question - What will be the output of the following PHP code?
Options:
A .  Peter_is_a_great_guy!
B .  Peterisagreatguy!
C .  Peter is a great guy!
D .  Error
Answer: Option C
The code above converts all “_” to white spaces. Call the filter_var() function with the FILTER_CALLBACK filter and an array containing our function.

Was this answer helpful ?
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *