I\'m getting an error while writing a string to a file with PHP. The code is below.
$this->filecontent = \'