I need to create a file that contains PHP code. This code comes from a string like "<?php class foo{ } ?>"
but when I give a echo
it just cuts the reserved words.
How to turn the string into plain text without missing a word?
I will create a file by fopen
.