Skip to content
Snippets Groups Projects
Commit 1a2876ac authored by xaver's avatar xaver
Browse files

Added 2 guidelines -> About ereg,split... (removed in php 5.4 or 6, different...

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 <?
parent 80997df2
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,8 @@ Some guidelines for web development with php.
* every php file starts and end with <?php ?> no spaces before or after
* error_reporting(E_ALL|E_STRICT) , yep php5
* Magic quotes is gone in php6, get used to it now. config = magic_quotes_gpc() Everything must be quoted
* 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
* Don't use shorttags. A Shorttag is <? and that is confusing with <?xml -> always <?php
please mark any section that need review or work on with
// TODO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment