Re: what happened to that new isset() like language

From: Date: Fri, 09 Jul 2004 02:16:17 +0000
Subject: Re: what happened to that new isset() like language
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-11011@lists.php.net to get a copy of this message
Oh baby, oh baby. I was undecided (and really just didn't care about it either way) but when Marc put it this way (see the bottom line there) I was sold. That's just sexy. -Dan, who perhaps gets a bit *too* into this sort of thing... > I am interested in the new construct for the exact same reason, E_ALL > development. I am intersted in the ?: operator because it looks alot > simpler, especially if you want to chain them together: > > $user = $_SESSION['user] ?: $_POST['user'] ?: $local_user ?: NULL;

« previous php.internals (#11011) next »