--TEST-- Bug #73529 session_decode() silently fails on wrong input --SKIPIF-- --FILE-- "bar"])); $session2 = $_SESSION; session_destroy(); echo ob_get_clean(); var_dump($result1); var_dump($session1); var_dump($result2); var_dump($session2); ?> --EXPECTF-- Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on line %d Warning: session_destroy(): Trying to destroy uninitialized session in %s on line %d Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on line %d Warning: session_destroy(): Trying to destroy uninitialized session in %s on line %d bool(false) array(0) { } bool(false) array(0) { }