php-src/ext/session/tests/bug60860.phpt
Anatol Belski 6065b29fe4 Reverted ad4533fdba
The E_ERROR to E_RECOVERABLE_ERROR should be readded with the
proper tests.
2015-07-21 11:18:36 +02:00

18 lines
399 B
PHP

--TEST--
Bug #60860 (session.save_handler=user without defined function core dumps)
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
session.save_handler=user
--FILE--
<?php
session_start();
echo "ok\n";
?>
--EXPECTF--
Warning: session_start(): user session functions not defined in %s on line 3
Fatal error: session_start(): Failed to initialize storage module: user (path:%s) in %s on line 3