xref: /php-src/ext/opcache/tests/gh9259_003.phpt (revision d966c296)
1--TEST--
2Bug GH-9259 003 (Setting opcache.interned_strings_buffer to a very high value leads to corruption of shm)
3--EXTENSIONS--
4opcache
5--SKIPIF--
6<?php
7if (getenv('SKIP_ASAN')) die('xleak Leaks memory with ASAN');
8?>
9--INI--
10opcache.interned_strings_buffer=500
11opcache.enable=1
12opcache.enable_cli=1
13--FILE--
14<?php
15
16echo 'OK';
17
18?>
19--EXPECTF--
20%sFatal Error Insufficient shared memory for interned strings buffer! (tried to allocate %d bytes)
21