Re: [pmwiki-users] bitwise assignment on HandleEdit

2010-05-10 Thread Carlos AB
Thanks Dave, finally got it. I'm gonna do some tests to see it working today and never forget it. I got puzzled with the "&=" thing. Thanks again, CarlosAB On 5/7/10, DaveG wrote: > > > On 5/7/2010 12:32 PM, Carlos AB wrote: >> I've read the php manual about bitwise operators but couldn't >>

Re: [pmwiki-users] bitwise assignment on HandleEdit

2010-05-07 Thread DaveG
On 5/7/2010 12:32 PM, Carlos AB wrote: I've read the php manual about bitwise operators but couldn't understand the code below: $EnablePost&= preg_grep('/^post/', array_keys(@$_POST)); Interesting question. I had to research, but here's how I'd interpret it. From [1]: &= is bitwise 'and':

[pmwiki-users] bitwise assignment on HandleEdit

2010-05-07 Thread Carlos AB
I've read the php manual about bitwise operators but couldn't understand the code below: $EnablePost &= preg_grep('/^post/', array_keys(@$_POST)); What does it mean? CarlosAB ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichau