Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ext/shmop/tests/shmop_open_private.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ $shm2 = shmop_open(0, 'c', 0777, 1024);
$read = shmop_read($shm2, 0, 4);

var_dump(is_string($read) && $read !== $write);
shmop_delete($shm1);
shmop_delete($shm2);
?>
--EXPECT--
bool(true)
2 changes: 2 additions & 0 deletions ext/sysvshm/tests/gh16591.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ try {
echo $e->getMessage(), "\n";
}

shm_remove(shm_attach(1));

?>
--EXPECT--
Shared memory block has been destroyed by the serialization function
Loading