mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +08:00
16 lines
316 B
PHP
16 lines
316 B
PHP
--TEST--
|
|
Bug #39602 (Invalid session.save_handler crashes PHP)
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("session")) die("skip session extension required"); ?>
|
|
--INI--
|
|
session.save_handler=qwerty
|
|
error_reporting=0
|
|
--FILE--
|
|
<?php
|
|
ini_set("session.save_handler","files");
|
|
$x = new stdClass();
|
|
echo "ok";
|
|
?>
|
|
--EXPECT--
|
|
ok
|