Location: PHPKode > scripts > PHP Object Notation > php-object-notation/phpon.class.php
<?php
class phpon{
   function encode($data){
     return base64_encode(serialize($data));
   }
   function decode($str){
     return unserialize(base64_decode($str));
   }
}
?>
Return current item: PHP Object Notation