What is the undocumented SessionIdInterface in PHP 5.5?
问题 In the PHP 5.5.1, there's a reference to a SessionIdInterface. However, it's still undocumented and only thing I could find was the interface definition: interface SessionIdInterface { public function create_sid (); } Is it safe to rely on this interface? Where can I find some sort of documentation regarding this interface? 回答1: SessionIdInterface was created as part of php-src pull request 109 and landed in PHP 5.5.1. Some details on it are discussed there. In short, your