1--TEST-- 2session_decode(); should not segfault 3--SKIPIF-- 4<?php include('skipif.inc'); ?> 5--INI-- 6session.use_cookies=0 7session.cache_limiter= 8--FILE-- 9<?php 10error_reporting(E_ALL); 11 12session_decode("garbage data and no session started"); 13session_decode("userid|s:5:\"mazen\";chatRoom|s:1:\"1\";"); 14print "I live\n"; 15?> 16--EXPECTF-- 17Warning: session_decode(): Session data cannot be decoded when there is no active session in %s on line %d 18 19Warning: session_decode(): Session data cannot be decoded when there is no active session in %s on line %d 20I live 21