xref: /PHP-8.4/ext/session/tests/bug71683.phpt (revision c5bce0d8)
1--TEST--
2Bug #71683 Null pointer dereference in zend_hash_str_find_bucket
3--EXTENSIONS--
4session
5--SKIPIF--
6<?php include('skipif.inc'); ?>
7--INI--
8session.save_handler=files
9session.auto_start=1
10session.use_only_cookies=0
11--FILE--
12<?php
13ob_start();
14echo "ok\n";
15?>
16--EXPECT--
17Deprecated: PHP Startup: Disabling session.use_only_cookies INI setting is deprecated in Unknown on line 0
18ok
19