note 16849 added to function.shmop-open

From: Date: Thu, 15 Nov 2001 19:32:57 +0000
Subject: note 16849 added to function.shmop-open
Groups: php.notes 
Request: Send a blank email to php-notes+get-20884@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" -- http://www.php.net/manual/en/function.shmop-open.php http://master.php.net/manage/user-notes.php?action=edit+16849 http://master.php.net/manage/user-notes.php?action=delete+16849 http://master.php.net/manage/user-notes.php?action=reject+16849

« previous php.notes (#20884) next »