Briefing Zend Knowledge

Which of the following commands will append data to an existing file?

Which of the following commands will append data to an existing file?

A.
file_put_contents(“file”, “data”, “a”);

B.
file_put_contents(“file”, “a”, “data”);

C.
file_put_contents(“file”, “data”, FILE_APPEND);

D.
file_put_contents(“file”, “a”, NULL, FILE_APPEND);