Re: [PHP-DEV] Re: Function proposal: varset

2011-04-20 Thread Arpad Ray
On Wed, Apr 20, 2011 at 11:50 PM, Mark wrote: > On Wednesday, April 20, 2011, D. Dante Lorenso wrote: >> On 4/20/11 9:55 AM, Mark wrote: >> >> Hi, >> This proposal is for the often called line like this: >> $var = isset($_GET['var']) ? $_GET['var'] : ''; >> Only a shorter and imho a cleaner solut

[PHP-DEV] Re: Function proposal: varset

2011-04-20 Thread Mark
On Wednesday, April 20, 2011, D. Dante Lorenso wrote: > On 4/20/11 9:55 AM, Mark wrote: > > Hi, > This proposal is for the often called line like this: > $var = isset($_GET['var']) ? $_GET['var'] : ''; > Only a shorter and imho a cleaner solution to get the same: > $var = varset($_GET['var']); > >