Annotation of embedaddon/php/ext/session/tests/session_set_save_handler_class_015.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Test session_set_save_handler() : register session handler but don't start
! 3: --INI--
! 4: session.save_handler=files
! 5: session.name=PHPSESSID
! 6: --SKIPIF--
! 7: <?php include('skipif.inc'); ?>
! 8: --FILE--
! 9: <?php
! 10:
! 11: ob_start();
! 12:
! 13: /*
! 14: * Prototype : bool session_set_save_handler(SessionHandler $handler [, bool $register_shutdown_function = true])
! 15: * Description : Sets user-level session storage functions
! 16: * Source code : ext/session/session.c
! 17: */
! 18:
! 19: echo "*** Testing session_set_save_handler() : register session handler but don't start ***\n";
! 20:
! 21: session_set_save_handler(new SessionHandler);
! 22:
! 23: --EXPECTF--
! 24: *** Testing session_set_save_handler() : register session handler but don't start ***
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>