Skip to content

Commit 1a2876a

Browse files
author
xaver
committed
Added 2 guidelines -> About ereg,split... (removed in php 5.4 or 6, different informations on php.net) and no shorttags, use <?php always and no <?
1 parent 80997df commit 1a2876a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CODING_NOTES.php.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Some guidelines for web development with php.
66
* every php file starts and end with <?php ?> no spaces before or after
77
* error_reporting(E_ALL|E_STRICT) , yep php5
88
* 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
911

1012
please mark any section that need review or work on with
1113
// TODO

0 commit comments

Comments
 (0)