Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
OP_MARK = '('
Details OP_STOP = '.'
Details OP_POP = '0'
Details OP_POP_MARK = '1'
Details OP_DUP = '2'
Details OP_FLOAT = 'F'
Details OP_INT = 'I'
Details OP_BININT = 'J'
Details OP_BININT1 = 'K'
Details OP_LONG = 'L'
Details OP_BININT2 = 'M'
Details OP_NONE = 'N'
Details OP_PERSID = 'P'
Details OP_BINPERSID = 'Q'
Details OP_REDUCE = 'R'
Details OP_STRING = 'S'
Details OP_BINSTRING = 'T'
Details OP_SHORT_BINSTRING = 'U'
Details OP_UNICODE = 'V'
Details OP_BINUNICODE = 'X'
Details OP_APPEND = 'a'
Details OP_BUILD = 'b'
Details OP_GLOBAL = 'c'
Details OP_DICT = 'd'
Details OP_EMPTY_DICT = '}'
Details OP_APPENDS = 'e'
Details OP_GET = 'g'
Details OP_BINGET = 'h'
Details OP_INST = 'i'
Details OP_LONG_BINGET = 'j'
Details OP_LIST = 'l'
Details OP_EMPTY_LIST = ']'
Details OP_OBJ = 'o'
Details OP_PUT = 'p'
Details OP_BINPUT = 'q'
Details OP_LONG_BINPUT = 'r'
Details OP_SETITEM = 's'
Details OP_TUPLE = 't'
Details OP_EMPTY_TUPLE = ')'
Details OP_SETITEMS = 'u'
Details OP_BINFLOAT = 'G'
Details OP_PROTO = '\x80'
Details OP_NEWOBJ = '\x81'
Details OP_EXT1 = '\x82'
Details OP_EXT2 = '\x83'
Details OP_EXT4 = '\x84'
Details OP_TUPLE1 = '\x85'
Details OP_TUPLE2 = '\x86'
Details OP_TUPLE3 = '\x87'
Details OP_NEWTRUE = '\x88'
Details OP_NEWFALSE = '\x89'
Details OP_LONG1 = '\x8a'
Details OP_LONG4 = '\x8b'
Details OP_BINBYTES = 'B'
Details OP_SHORT_BINBYTES = 'C'
Details $_binary = 'false'
Detailsbool $_isLittleEndian = 'null'
Detailsbool $_isPhp6 = 'null'
Details $_marker = 'null'
Details $_memo = 'array'
Detailsarray $_options = 'array'
Details $_pickle = ''
Details $_pickleLen = '0'
Details $_pos = '0'
Details $_protocol = '0'
Detailsarray $_quoteString = 'array'
Details $_stack = 'array'
Details__construct(
$opts
=
array
)
:
Constructor
Details_checkProtocolNumber(
int $number
)
:
intCheck and normalize pickle protocol number
Details_convertMatchingUnicodeSequence2Utf8(
array $match
)
:
stringConvert a unicode sequence to UTF-8
Details_decodeBinLong(
string $data
)
:
int|float|stringDecode a binary long sequence
Details_hex2Utf8(
$hex
)
:
stringConvert a hex string to a UTF-8 string
Details_isArrayAssoc(
array $value
)
:
booleanIs an array associative?
Details_lastMarker(
)
:
intReturn last marker position in stack
Details_load(
string $op
)
:
voidLoad a pickle opcode
Details_loadAppend(
)
:
voidLoad an append (to list) sequence
Details_loadAppends(
)
:
voidLoad multiple append (to list) sequences at once
Details_loadBinBytes(
)
:
voidLoad arbitrary binary bytes
Details_loadBinFloat(
)
:
voidLoad a binary float value
Details_loadBinGet(
)
:
voidLoad a binary GET operation
Details_loadBinInt(
)
:
voidLoad a binary integer operator
Details_loadBinInt1(
)
:
voidLoad the first byte of a binary integer
Details_loadBinInt2(
)
:
voidLoad the second byte of a binary integer
Details_loadBinPut(
)
:
voidLoad a binary PUT
Details_loadBinString(
)
:
voidLoad a binary string
Details_loadBinUnicode(
)
:
voidLoad binary unicode sequence
Details_loadDict(
)
:
voidLoad an associative array (Python dictionary)
Details_loadEmptyDict(
)
:
voidLoad an empty dictionary
Details_loadEmptyList(
)
:
voidLoad an empty list sequence
Details_loadFloat(
)
:
voidLoad a float value
Details_loadGet(
)
:
voidLoad a GET operation
Details_loadInt(
)
:
voidLoad an integer operator
Details_loadList(
)
:
voidLoad an array (list)
Details_loadLong(
)
:
voidLoad a long (float) operator
Details_loadLong1(
)
:
voidLoad a one byte long integer
Details_loadLong4(
)
:
voidLoad a 4 byte long integer
Details_loadLongBinGet(
)
:
voidLoad a long binary GET operation
Details_loadLongBinPut(
)
:
voidLoad a long binary PUT
Details_loadMark(
)
:
voidLoad a marker sequence
Details_loadNewFalse(
)
:
voidLoad a boolean FALSE operator
Details_loadNewTrue(
)
:
voidLoad a boolean TRUE operator
Details_loadNone(
)
:
voidLoad a NONE operator
Details_loadProto(
)
:
voidLoad a proto value
Details_loadPut(
)
:
voidLoad a PUT opcode
Details_loadSetItem(
)
:
voidLoad an item from a set
Details_loadSetItems(
)
:
voidLoad set items
Details_loadShortBinBytes(
)
:
voidLoad a single binary byte
Details_loadShortBinString(
)
:
voidLoad a short binary string
Details_loadString(
)
:
voidLoad a string
Details_loadTuple(
)
:
voidLoad a tuple
Details_loadTuple1(
)
:
voidLoad single item tuple
Details_loadTuple2(
)
:
voidLoad two item tuple
Details_loadTuple3(
)
:
voidLoad three item tuple
Details_loadUnicode(
)
:
voidLoad a unicode string
Details_momorize(
mixed $value
)
:
voidAdd a value to the memo and write the id
Details_quoteString(
string $str
)
:
stringQuote/Escape a string
Details_read(
mixed $len
)
:
stringRead a segment of the pickle
Details_readline(
)
:
stringRead a line of the pickle at once
Details_searchMomo(
mixed $value
)
:
int|falseSearch a value in the meno and return the id
Details_unquoteString(
string $str
)
:
stringUnquote/Unescape a quoted string
Details_write(
mixed $value
)
:
voidWrite a value
Details_writeArrayDict(
array $value
)
:
voidWrite an associative array value as dictionary
Details_writeArrayList(
array $value
)
:
voidWrite a simple array value as list
Details_writeFalse(
)
:
voidWrite a boolean false
Details_writeFloat(
float $value
)
:
voidWrite a float value
Details_writeGet(
int $id
)
:
voidWrite a get
Details_writeInt(
int $value
)
:
voidWrite an integer value
Details_writeNull(
)
:
voidWrite a null as None
Details_writeObject(
object $value
)
:
voidWrite an object as an dictionary
Details_writeProto(
int $protocol
)
:
voidWrite pickle protocol
Details_writePut(
int $id
)
:
voidWrite a put
Details_writeStop(
)
:
voidWrite stop
Details_writeString(
string $value
)
:
voidWrite a string value
Details_writeTrue(
)
:
voidWrite a boolean true
Detailsserialize(
mixed $value, array $opts
=
array
)
:
stringSerialize PHP to PythonPickle format
DetailssetOption(
string $name, mixed $value
)
:
Zend_Serializer_Adapter_PythonPickleSet an option
Detailsunserialize(
string $pickle, array $opts
=
array
)
:
mixedUnserialize from Python Pickle format to PHP
Details