1--TEST-- 2Test session_id() function : basic functionality 3--SKIPIF-- 4<?php include('skipif.inc'); ?> 5--FILE-- 6<?php 7 8ob_start(); 9 10echo "*** Testing session_id() : basic functionality ***\n"; 11 12ini_set('session.sid_bits_per_chracter', 6); 13ini_set('session.sid_length', 120); 14session_start(); 15var_dump(session_id()); 16session_commit(); 17 18ini_set('session.sid_bits_per_chracter', 4); 19ini_set('session.sid_length', 22); 20session_start(); 21session_regenerate_id(); 22var_dump(session_id()); 23session_commit(); 24 25echo "Done"; 26?> 27--EXPECTF-- 28*** Testing session_id() : basic functionality *** 29string(120) "%s" 30string(22) "%s" 31Done 32