MCQs > IT & Programming > PHP > $file = 'sample.txt'; $current = file_get_contents($file); $current .= 'Additional Info'; file_put_contents($file, $current); What is the meaning of above code?

PHP MCQs

$file = 'sample.txt'; $current = file_get_contents($file); $current .= "Additional Info"; file_put_contents($file, $current); What is the meaning of above code?

Answer

Correct Answer: It means that certain string of which value is 'Additional Info' is added to the end of the file named sample.txt.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it