private static function encodeList($list, &$serialized)
    {
        if (empty($list)) {
            $serialized .= "le";
            return;
        }

        $serialized .= "l";
        for ($i = 0; isset($list[$i]); $i++) {
            self::decideEncode($list[$i], $serialized);
        }
        $serialized .= "e";
    }
private static function encodeList($list, &$serialized)
    {
        if (empty($list)) {
            $serialized .= "le";
            return;
        }

        $serialized .= "l";
        for ($i = 0; isset($list[$i]); $i++) {
            self::decideEncode($list[$i], $serialized);
        }
        $serialized .= "e";
    }
private static function encodeList ( $ list , & $ serialized ) { if ( empty ( $ list ) ) { $ serialized .= "le" ; return ; } $ serialized .= "l" ; for ( $ i = 0 ; isset ( $ list [ $ i ] ) ; $ i ++ ) { self :: decideEncode ( $ list [ $ i ] , $ serialized ) ; } $ serialized .= "e" ; }
Handles the serialization of an array object.

@param string $list Array to serialize.
@param string $serialized Reference to the serialization buffer.
Handles the serialization of an array object .