--TEST-- session_set_save_handler(): optional closures not set again in second call --INI-- session.use_strict_mode=1 session.name=PHPSESSID session.serialize_handler=php_serialize --EXTENSIONS-- session --FILE-- --EXPECTF-- Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object implementing SessionHandlerInterface is deprecated in %s on line %d Open Create SID OLD Read Write Close New handlers: Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object implementing SessionHandlerInterface is deprecated in %s on line %d Open Validate ID Read array(1) { ["OLD_ID"]=> string(28) "a:1:{s:3:"foo";s:5:"hello";}" } Write Close