Question:What does the built-in delete function do?
A It deletes a file
B It deletes a directory
C It unsets a variable
D It removes a database row
E This function does not exist!
/10
+ Answer
E
+ ExplanationAnswer E is correct. There is no function called delete() in PHP. Files are deleted with unlink(), while directories are deleted with rmdir(). Database rows are deleted using the DELETE SQL statement (not a PHP function) and, finally, variables are unset using unset().