Default values in PHP

function blah($blah1, $blah2)

rewritten as

function blah($blah1 = "", $blah2 = "")

will have default values set on each of the variables. Useful for security and for predictability. Also, try Secure Software Solutions’ RATS system, as it works on C, C++, PHP, Python and others maybe.