You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CODING_NOTES.php.txt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ Some guidelines for web development with php.
6
6
* every php file starts and end with <?php ?> no spaces before or after
7
7
* error_reporting(E_ALL|E_STRICT) , yep php5
8
8
* Magic quotes is gone in php6, get used to it now. config = magic_quotes_gpc() Everything must be quoted
9
+
* Don't use ereg,split and other old function -> gone in php 5.4 or 6 (different information on php.net) http://www.php.net/manual/en/migration53.deprecated.php
10
+
* Don't use shorttags. A Shorttag is <? and that is confusing with <?xml -> always <?php
9
11
10
12
please mark any section that need review or work on with
0 commit comments