xref: /php-src/ext/opcache/tests/gh9259_003.phpt (revision 50f58c89)
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_cli=1
12--FILE--
13<?php
14
15echo 'OK';
16
17?>
18--EXPECTF--
19%sFatal Error Insufficient shared memory for interned strings buffer! (tried to allocate %d bytes)
20