Re: Callbacks

From: Date: Fri, 20 Jun 2003 09:39:36 +0000
Subject: Re: Callbacks
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969354660@lists.php.net to get a copy of this message
As you can see, one is using <type>callback</type> the other <type>mixed</type>, the reasons being obvious - a callback is just a string or an array... so the question here is, do we respect the callback type as its own which consists of 'mixed' data, or do we use mixed? I personally feel that callback is more descriptive. as I am going through all callback functions anyways, I will change them all to have the same, whatever is decided. I'm not entirely bothered which is chosen, so long as one is, and its stuck too.
I am fine with the callback type, and the "handler" name to use for callback paramater names. Goba

« previous php.doc (#969354660) next »