* Thus wrote Quanah Gibson-Mount:
> Right now, I'm tweaking a function that has a bunch of optional parameters.
> I would like to be able to set a default value for the very last one if it
> is not passed in. This essentially looks like:
>
>
> if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_C
On Wed, 2004-10-27 at 16:56 -0700, Quanah Gibson-Mount wrote:
>
> --On Wednesday, October 27, 2004 4:53 PM -0700 "Vail, Warren"
> <[EMAIL PROTECTED]> wrote:
>
> > I notice that none of your variables use the PHP convention of $ preceding
> > the variable name, I also do not see you defining a va
: [PHP] Default value if parameter is not passed in
--On Wednesday, October 27, 2004 4:53 PM -0700 "Vail, Warren"
<[EMAIL PROTECTED]> wrote:
> I notice that none of your variables use the PHP convention of $
> preceding the variable name, I also do not see you defining a val
--On Wednesday, October 27, 2004 4:53 PM -0700 "Vail, Warren"
<[EMAIL PROTECTED]> wrote:
I notice that none of your variables use the PHP convention of $ preceding
the variable name, I also do not see you defining a value for
DEFAULT_VALUE, which by the upper case convention seems to be referrin
I notice that none of your variables use the PHP convention of $ preceding
the variable name, I also do not see you defining a value for DEFAULT_VALUE,
which by the upper case convention seems to be referring to a global
constant. Is it not true (no pun intended) that if a variable (or constant)
h
5 matches
Mail list logo