Re: Re: Combined assignment operator for short ternary

From: Date: Fri, 24 Aug 2012 23:00:32 +0000
Subject: Re: Re: Combined assignment operator for short ternary
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-62464@lists.php.net to get a copy of this message
Hi! > To point that out: I _don't_ want to change the behaviour, which means > > | $foo['xy'] ?:= 'bar'; > > would trigger a notice like > > | $foo['xy'] = $foo['xy'] ?: 'bar'; Then I personally don't see much point in it. Saving a couple of keystrokes IMHO is not really worth it. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#62464) next »