RE: [PHP] Type of form element
| From: | Ford, Mike | Date: | Wed, 02 Nov 2005 14:34:52 +0000 |
| Subject: | RE: [PHP] Type of form element | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-224954@lists.php.net to get a copy of this message | ||
-----Original Message-----
> From: Chris Shiflett [mailto:shiflett@php.net]
> Sent: 31 October 2005 17:19
> To: Marcus Bointon
>
> Marcus Bointon wrote:
> > The thing I was wrong on is that PHP converts unset parameters (as
> > opposed to nonexistent ones which it obviously can't do anything
> > about) to an empty string, e.g. given ?a=&b=1, $_REQUEST ['a'] is
"",
> > not NULL.
>
> That's right, except we seem to have a vocabulary discrepancy:
>
> 1. To me, "unset" and "not set" are not the same thing (sort of like
how
> "untie" and "not tied" are also not the same).
Well, yes, except that "unset" and "not set" also *ARE* the same thing,
sort of like how "untied" and "not tied" are also the same thing!
(Since untied is the past participle of untie -- but unset is the past
participle of unset, hence the ambiguity!)
Cheers!
Mike
------------------------------------------------------------------------
----------------
Mike Ford, Electronic Information Services Adviser, Learning Support
Services,
JG125, The Library, James Graham Building, Headingley Campus, Beckett
Park,
LEEDS, LS6 3QS, United Kingdom
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm