PHP » PYTHON |
login |
register |
about
|
PYTHON Serializable::unserialize
is this article helpful?
|
Python replacement for PHP's Serializable::unserialize
[
edit
| history
]
from phpserialize import serialize, unserialize str = serialize({'loginip': '127.0.0.1', 'uid': 96, 'loginfrom': 4, 'logintime': 1317200595}) print str print unserialize(str) Serializable::unserialize(PHP 5 >= 5.1.0) Serializable::unserialize — Constructs the object DescriptionCalled during unserialization of the object.
Parameters
Return ValuesReturns the original value unserialized. |
more
Recently updated
more
Most requested
|