File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- Some guidelines for web development with php .
1+ Some guidelines for web development with PHP .
22-----------------------------------------------------
33* Unix Line Breaks Only, NO windows breaks please.
44* Tabs to indent lines, NO spaces
55* no accidental _<?php space before, within or after a file
6- * every php file starts and end with <?php ?> no spaces before or after
7- * error_reporting(E_ALL|E_STRICT), yep php5
6+ * every PHP file starts and end with <?php ?> no spaces before or after
7+ * error_reporting(E_ALL|E_STRICT), yep PHP 5
88* Magic quotes is gone, 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
9+ * Don't use ereg, split and other old function -> gone in PHP 5.4
10+ * Don't use features that are not supported in PHP 5.3, for compatibility with LTS OS releases, ISPConfig must support PHP 5.3+
1011* Don't use shorttags. A Shorttag is <? and that is confusing with <?xml -> always usw <?php
1112* Don't use namespaces
1213* Column names in database tables and database table names are in lowercase
You can’t perform that action at this time.
0 commit comments