How get the value of current session id?

Session_id() returns the session id for the current session.