1--TEST-- 2Test session_encode() function : variation 3--EXTENSIONS-- 4session 5--SKIPIF-- 6<?php include('skipif.inc'); ?> 7--INI-- 8session.serialize_handler=php_binary 9--FILE-- 10<?php 11 12ob_start(); 13 14echo "*** Testing session_encode() : variation ***\n"; 15 16var_dump(session_start()); 17$_SESSION["foo"] = 1234567890; 18$encoded = session_encode(); 19var_dump(base64_encode($encoded)); 20var_dump(session_destroy()); 21 22echo "Done"; 23ob_end_flush(); 24?> 25--EXPECT-- 26*** Testing session_encode() : variation *** 27bool(true) 28string(24) "A2Zvb2k6MTIzNDU2Nzg5MDs=" 29bool(true) 30Done 31