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/general/creating_libraries.html b/user_guide/general/creating_libraries.html
index c2c600e..c131870 100644
--- a/user_guide/general/creating_libraries.html
+++ b/user_guide/general/creating_libraries.html
@@ -98,7 +98,7 @@
<p>Classes should have this basic prototype (Note: We are using the name <kbd>Someclass</kbd> purely as an example):</p>
-<code><?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+<code><?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
<br /><br />
class Someclass {<br />
<br />
@@ -137,7 +137,7 @@
<p>If you use this feature you must set up your class constructor to expect data:</p>
-<code><?php if (!defined('BASEPATH')) exit('No direct script access allowed');<br />
+<code><?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');<br />
<br />
class Someclass {<br />
<br />