RE: [PHP-DEV] what happened to that new isset() like language

From: Date: Sun, 30 Oct 2005 03:31:39 +0000
Subject: RE: [PHP-DEV] what happened to that new isset() like language
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-19843@lists.php.net to get a copy of this message
Whoops, geez, you use a language for 8 years and you'd think you know what it can do! Beyond that ifset is a nicer name than ifsetor, people can RTFM (like I obviously should have done) to figure out the functionality. > -----Original Message----- > From: Arpad Ray [mailto:arpad@rajeczy.com] > Sent: Saturday, October 29, 2005 6:17 PM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] what happened to that new isset() like language > > Bob Silva wrote: > > This makes perfect sense (to me at least): > > > > $localvar = isset($_REQUEST['globalvar'], "default value 1", ...); > > > > The obvious problem there being that isset() currently takes multiple > variables as arguments and checks that they're all set. From the manual: > > bool isset ( mixed var [, mixed var [, ...]] ) > > > Arpad > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.internals (#19843) next »