PHP-Session-0.15 > PHP::Session::Serializer::PHP

名前

PHP::Session::Serializer::PHP - PHP セッションデータのシリアライゼーション

概要

  use PHP::Session::Serializer::PHP;

  $serializer = PHP::Session::Serializer::PHP->new;

  $enc     = $serializer->encode(\%data);
  $hashref = $serializer->decode($enc);

TODO

  • コードをきれいにする!

  • PHPのオブジェクトをそのまま復元するオプションの追加。

作者

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

PHP::Session