PHP
Exercise 8 / 15
PHP File Handling
Hard
28 points
Create a file "test.txt" with content "Hello PHP", then read and display its content.
PHP can read and write files. file_put_contents() writes to a file, file_get_contents() reads a file.
Well done! 🎉
Your answer is correct! You earned 28 points.
Not quite...
Try again! You can do it.
Your code
PHP
Result