On Apr 15, 2004, at 3:35 PM, Timm Friebe wrote:


On Thu, 2004-04-15 at 21:36, Chuck Hagenbuch wrote:
Quoting Hartmut Holzgraefe <[EMAIL PROTECTED]>:
[...]
If this were added, wouldn't it make sense to use the convention
already adopted
by perl?

$foo |= 'default';

Already used:


$ php -r '$a= 1; $a |= 2; var_dump($a);'
int(3)


perl's is ||= anyway.

George

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to