xref: /PHP-8.4/ext/opcache/tests/gh9259_001.phpt (revision 0bf063dc)
1--TEST--
2Bug GH-9259 001 (Setting opcache.interned_strings_buffer to a very high value leads to corruption of shm)
3--EXTENSIONS--
4opcache
5--SKIPIF--
6<?php if (PHP_INT_SIZE != 8) die("skip: 64-bit only"); ?>
7--INI--
8opcache.interned_strings_buffer=131072
9opcache.log_verbosity_level=2
10opcache.enable_cli=1
11--FILE--
12<?php
13
14echo 'OK';
15
16?>
17--EXPECTF--
18%sWarning opcache.interned_strings_buffer must be less than or equal to 32767, 131072 given%s
19
20OK
21