forum

Home / DeveloperSection / Forums / get reference variable in php using session_decode result

get reference variable in php using session_decode result

Anonymous User188701-Nov-2014
I noticed that the PHP session_decode() function has an object type for PHP reference variables signified by 'R'. However, I can't seem to find out how to get session_decode() to output this object type. If I assign a reference variable to $_SESSION, and then call session_decode(), the reference variable is represented by session_decode() as having the same object type as the variable it references and not 'R'. What is the use case for the session_decode object type of 'R'?

Updated on 01-Nov-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By