Re: Re: Construct Request
| From: | Chuck Hagenbuch | Date: | Thu, 15 Apr 2004 19:36:47 +0000 |
| Subject: | Re: Re: Construct Request | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9214@lists.php.net to get a copy of this message | ||
Quoting Hartmut Holzgraefe <hartmut@php.net>:
actualy in this special case i have been whishing for an operator for ages, maybe a modification of the good old ternary: $foo = ?$bar : "default"; or $foo ?= "default";If this were added, wouldn't it make sense to use the convention already adopted by perl? $foo |= 'default'; -chuck -- "Regard my poor demoralized mule!" - Juan Valdez