|
Posted by fletch on 04/12/06 12:49
I use a notation, whose name I can't remember, to show what type the
variable should be.
$iInt
$aArray
$bBool
$mMixed - could be anything
$sString
$oObj
so I can do loops like
while(list($sFieldName,$aFieldDef)=each($aFields)){}
Also, some regulalry used objects are given their own prefix as opposed
to a general 'o'
Checking function declarations becomes much easier also.
Navigation:
[Reply to this message]
|