1--TEST--
2shmop_open with IPC_PRIVATE creates private SHM
3--EXTENSIONS--
4shmop
5--FILE--
6<?php
7$write = 'test';
8
9$shm1 = shmop_open(0, 'c', 0777, 1024);
10shmop_write($shm1, $write, 0);
11
12$shm2 = shmop_open(0, 'c', 0777, 1024);
13$read = shmop_read($shm2, 0, 4);
14
15var_dump(is_string($read) && $read !== $write);
16?>
17--EXPECT--
18bool(true)
19