
dropping bracket { }

use single &double quotes

use dot & double quotes

else for readable, not performance

use ternary operation ? :

use post not get or request

suppression operation

$a = @$b;

$a =& $b;

inbuild function

array_rand

strip_tags

strftime

basename

list

range

isset

strlen

str_replace, ereg_replace, preg_replace

use function

error_report(E_ALL)

check before injection

use oop, class

http://www.thaiall.com/php5