Some sweeping syntax changes for consistency:
(! foo) changed to ( ! foo)
|| changed to OR
changed newline standardization code in various places from preg_replace to str_replace
diff --git a/user_guide/helpers/file_helper.html b/user_guide/helpers/file_helper.html
index 13d0beb..2c3dba1 100644
--- a/user_guide/helpers/file_helper.html
+++ b/user_guide/helpers/file_helper.html
@@ -88,7 +88,7 @@
<code>
$data = 'Some file data';<br />
<br />
-if (! write_file('./path/to/file.php', $data))<br />
+if ( ! write_file('./path/to/file.php', $data))<br />
{<br />
echo 'Unable to write the file';<br />
}<br />