note 16849 deleted from function.shmop-open by zak
| From: | zak@php.net | Date: | Thu, 15 Nov 2001 23:11:02 +0000 |
| Subject: | note 16849 deleted from function.shmop-open by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20893@lists.php.net to get a copy of this message | ||
I don't know why you "a" | "c" might work for you, but it's not the
reason you think it does:
"a" | "c" == "c"
As this is basically equivalent to:
0x41 | 0x43 = 0x43
So all you are really passing is "c" as a flag. Maybe the reason you get a usable result
is because of the third and fourth parameters being set to zero.
The correct way to pass both flags is by concatenating them:
"ac"