Re: Useful Function Names

Joe Stewart <[email protected]> Mon, 20 Oct 2003 15:02:03 +0200
Newsgroups gmane.comp.cms.phpslash.devel
Message-ID <[email protected]>
On Mon, Oct 20, 2003 at 02:27:54PM -0400, Mike Gifford wrote:
> Hi Joe,
> 
> On Sun, 2003-10-19 at 01:39, Joe Stewart wrote:

<snip>
> 
> > I see the code in question.  Yes, it needs documenting and rewriting.  k
> > and v are the key and value.
> 
> Yup..  Also pretty common..  But confusing if you aren't familiar with
> the convention.
> 
> In anycase, something else for the todo :)
> 

I had forgotten that is the variable names that the phplib perm class
uses.  This was written as a patch to it and submitted to phplib for
inclusion ( even though nothing has come of it).


Also - the practice of setting a variable to '' instead of null probably
is a leftover from php3.  Kind of a habit because of how much code we
already had doing this.

Joe


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54