π Advanced File Manager
Multi-Root Navigation System
β‘ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/umvavtmy/public_html/website_b18404e2/wp-content/mu-plugins)
π Go
β¬ Ke Atas
π Root Server
π Root App
π Refresh
π /
βΊ
usr
βΊ
share
βΊ
doc
βΊ
π perl-PHP-Serialization
π
Lokasi:
/usr/share/doc/perl-PHP-Serialization
πΎ
Free:
47.3 GB
β οΈ Direktori ini
tidak writable
.
βοΈ Mengedit: README
NAME PHP::Serialization - simple flexible means of converting the output of PHP's serialize() into the equivalent Perl memory structure, and vice versa. SYNOPSIS use PHP::Serialization qw(serialize unserialize); my $encoded = serialize({ a => 1, b => 2}); my $hashref = unserialize($encoded); DESCRIPTION Provides a simple, quick means of serializing perl memory structures (including object data!) into a format that PHP can deserialize() and access, and vice versa. NOTE: Converts PHP arrays into Perl Arrays when the PHP array used exclusively numeric indexes, and into Perl Hashes then the PHP array did not. FUNCTIONS Exportable functions.. serialize($var,[optional $asString,[optional $sortHashes]]) Serializes the memory structure pointed to by $var, and returns a scalar value of encoded data. If the optional $asString is true, $var will be encoded as string if it is double or float. If the optional $sortHashes is true, all hashes will be sorted before serialization. NOTE: Will recursively encode objects, hashes, arrays, etc. SEE ALSO: ->encode() unserialize($encoded,[optional CLASS]) Deserializes the encoded data in $encoded, and returns a value (be it a hashref, arrayref, scalar, etc) representing the data structure serialized in $encoded_string. If the optional CLASS is specified, any objects are blessed into CLASS::$serialized_class. Otherwise, O bjects are blessed into PHP::Serialization::Object::$serialized_class. (which has no methods) SEE ALSO: ->decode() METHODS Functionality available if using the object interface.. decode($encoded_string,[optional CLASS]) Deserializes the encoded data in $encoded, and returns a value (be it a hashref, arrayref, scalar, etc) representing the data structure serialized in $encoded_string. If the optional CLASS is specified, any objects are blessed into CLASS::$serialized_class. Otherwise, Objects are blessed into PHP::Serialization::Object::$serialized_class. (which has no methods) SEE ALSO: unserialize() encode($reference,[optional $asString,[optional $sortHashes]]) Serializes the memory structure pointed to by $reference, and returns a scalar value of encoded data. If the optional $asString is true, $reference will be encoded as string if it is double or float. If the optional $sortHashes is true, all hashes will be sorted before serialization. NOTE: Will recursively encode objects, hashes, arrays, etc. SEE ALSO: serialize() TODO Support diffrent object types AUTHOR INFORMATION Copyright (c) 2003 Jesse Brown <jbrown@cpan.org>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Various patches contributed by assorted authors on rt.cpan.org (as detailed in Changes file). Currently maintained by Tomas Doran <bobtfish@bobtfish.net>. Rewritten to solve all known bugs by BjΓΈrn-Olav Strand <bolav@cpan.org>
πΎ Simpan Perubahan
β Batal
π€ Upload
π Buat Folder
Nama
Ukuran
Dimodifikasi
Permission
Aksi
π
Changes
1.8 KB
2010-03-18 22:23
0644
βοΈ Edit
β¬
βοΈ
ποΈ
π
README
3.1 KB
2009-07-28 08:37
0644
βοΈ Edit
β¬
βοΈ
ποΈ
βοΈ Rename:
Nama Baru:
Batal
πΎ Simpan