Location: PHPKode > scripts > XML Helper > tests/testXmlData/large_array.php
<?php
$data =
array ('data' => array
    (
    'order' => array
        (
            'orderid' => '51',
            'login' => 'candyman "the boss"',
            'membership' => 'test of ampersand & and left angle < ',
            'total' => '20.11',
            'giftcert_discount' => '0.00',
            'giftcert_ids' => '',
            'subtotal' => '15.00',
            'discount' => '0.00',
            'coupon' => '',
            'coupon_discount' => '0.00',
            'shippingid' => '43',
            'shipping' => 'FedEx Ground',
            'tracking' => '173944330069519',
            'shipping_cost' => '5.11',
            'tax' => '0.00',
            'taxes_applied' => 'a:0:{}',
            'date' => '1291311736',
            'status' => 'C',
            'payment_method' => 'Credit Card (PayFlow - Pro)',
            'flag' => 'N',
            'notes' => '',
            'details' => '{CardOwner}: Steve Reeves,',
            'customer_notes' => '',
            'customer' => '',
            'title' => 'Mr.',
            'firstname' => 'Steve',
            'lastname' => 'Reeves',
            'company' => '',
            'b_title' => '',
            'b_firstname' => 'Steve',
            'b_lastname' => 'Reeves',
            'b_address' => '184134 Briar Drive',
            'b_city' => 'Los Angeles',
            'b_county' => '',
            'b_state' => 'CA',
            'b_country' => 'US',
            'b_zipcode' => '95051',
            's_title' => '',
            's_firstname' => 'Steve',
            's_lastname' => 'Reeves',
            's_address' => '11101 SE 208th St.',
            's_city' => 'Olympia',
            's_county' => '',
            's_state' => 'WA',
            's_country' => 'US',
            's_zipcode' => '98300',
            'phone' => '408-220-4777',
            'fax' => '',
            'url' => '',
            'email' => 'hide@address.com',
            'language' => 'en',
            'clickid' => '0',
            'extra' => array
                (
                    'additional_fields' => array
                        (
                        ),

                    'tax_info' => array
                        (
                            'display_taxed_order_totals' => 'Y',
                            'display_cart_products_tax_rates' => '',
                            'taxed_subtotal' => '15.00',
                            'taxed_discounted_subtotal' => '15.00',
                            'taxed_shipping' => '5.11',
                            'product_tax_name'
                        ),

                    'advinfo' => '--- Advanced info ---,
Reason: Approved: AuthCode: 469789; PNRef: VSGA6A323891
AVS info: International AVS result: N; AVS result: Street match: Match; Zip match: Match
CAVV info: Match',
                    'ip' => '167.188.175.7',
                    'unique_id' => '7461cb3dec8ec8904a5b1d6c',
                ),

            'membershipid' => '0',
            'paymentid' => '17',
            'payment_surcharge' => '0.00',
            'tax_number' => '',
            'tax_exempt' => 'N',
            'init_total' => '20.11',
            'titleid' => '1',
            'b_titleid' => '',
            's_titleid' => '',
            'discounted_subtotal' => '15.00',
            'shipping_exists' => '1',
            'applied_taxes' => array
                (
                ),

            'display_subtotal' => '15.00',
            'display_discounted_subtotal' => '15.00',
            'display_shipping_cost' => '5.11',
            'b_address_2' => '',
            'b_statename' => 'California',
            'b_countryname' => 'US',
            's_address_2' => '',
            's_statename' => 'Washington',
            's_countryname' => 'US',
            'is_returns' => '',
            'is_cc_payment' => 'Y',
            'history' => array
                (
                    '0' => array
                        (
                            'recid' => '116',
                            'login' => '',
                            'orderid' => '51',
                            'date_time' => '1291374007',
                            'details' => array
                                (
                                    'old_status' => 'I',
                                    'new_status' => 'C',
                                    'type' => 'X'
                                ),
                            'event_header' => '~~~~|lbl_aom_order_status_changed_from_to|  |b2xkPn5+fn58|~~~~',
                        ),

                    '1' => array
                        (
                            'recid' => '112',
                            'login' => '',
                            'orderid' => '51',
                            'date_time' => '1291319868',
                            'details' => array
                                (
                                    'old_status' => 'P',
                                    'new_status' => 'I',
                                    'type' => 'X'
                                ),

                            'event_header' => 'abc'
                        ),
                    '2' => array
                        (
                            'recid' => '111',
                            'login' => 'candyman',
                            'orderid' => '51',
                            'date_time' => '1291311739',
                            'details' => array
                                (
                                    'old_status' => 'I',
                                    'new_status' => 'P',
                                    'type' => 'X',
                                    'reference' => '7'
                                ),

                            'status_note' => '~~~~|lbl_aom_order_status_note_7|  ||~~~~',
                            'event_header' => '~~~~|lbl_aom_order_status_cha5+fn4=|~~~~'
                        ),

                    '3' => array
                        (
                            'recid' => '110',
                            'login' => 'candyman',
                            'orderid' => '51',
                            'date_time' => '1291311737',
                            'details' => array
                                (
                                    'old_status' => '',
                                    'new_status' => 'I',
                                    'type' => 'X'
                                ),

                            'event_header' => '~~~~|lbl_aom_order_placement_I|  ||~~~~',
                        )

                ),

            'capture_enable' => '',
            'can_get_info' => '',
        ),

    'products' => array
        (
            '0' => array
                (
                    'itemid' => '51',
                    'productid' => '11',
                    'productcode' => 'Logo-L',
                    'product' => 'Logo Shirt',
                    'provider' => 'master',
                    'distribution' => '',
                    'weight' => '8.00',
                    'list_price' => '0.00',
                    'descr' => '<p>
	Candy Tee Shirt</p>',
                    'fulldescr' => '',
                    'avail' => '23',
                    'rating' => '43',
                    'forsale' => 'Y',
                    'add_date' => '1286529305',
                    'views_stats' => '35',
                    'sales_stats' => '10',
                    'del_stats' => '0',
                    'shipping_freight' => '0.00',
                    'free_shipping' => 'N',
                    'discount_avail' => 'Y',
                    'min_amount' => '1',
                    'length' => '0.00',
                    'width' => '0.00',
                    'height' => '0.00',
                    'low_avail_limit' => '10',
                    'free_tax' => 'N',
                    'product_type' => 'N',
                    'manufacturerid' => '0',
                    'return_time' => '0',
                    'keywords' => '',
                    'meta_description' => '',
                    'meta_keywords' => '',
                    'small_item' => 'N',
                    'separate_box' => '',
                    'items_per_box' => '1',
                    'title_tag' => '',
                    'orderid' => '51',
                    'price' => '15.00',
                    'amount' => '1',
                    'product_options' => array
                        (
                            '6' => array
                                (
                                    'classid' => '6',
                                    'productid' => '11',
                                    'class' => 'Size',
                                    'classtext' => 'Size',
                                    'orderby' => '3',
                                    'avail' => 'Y',
                                    'is_modifier' => '',
                                    'optionid' => '15',
                                    'option_name' => 'L',
                                    'price_modifier' => '0.00',
                                    'modifier_type' => '$',
                                )

                        ),

                    'extra_data' => array
                        (
                            'product_options' => array
                                (
                                    '6' => '15'
                                ),

                            'taxes' => array
                                (
                                ),

                            'display' => array
                                (
                                    'price' => '15.00',
                                    'discounted_price' => '15.00',
                                    'subtotal' => '15.00'
                                )

                        ),

                    'is_deleted' => '',
                    'extra_fields' => '',
                    'display_price' => '15.00',
                    'display_discounted_price' => '15.00',
                    'display_subtotal' => '15.00',
                    'product_options_txt' => 'Size: L',
                    'ordered_price' => '15.00',
                    'original_price' => '15',
                    'price_deducted_tax' => 'Y',
                    'variantid' => '15',
                    'def' => '',
                    'pimage_path' => '',
                    'pimage_x' => '',
                    'pimage_y' => '',
                )

        ),

    'userinfo' => array
        (
            'login' => 'candyman',
            'usertype' => 'C',
            'password' => 'B-3bd371e6fe8e4232a4d904cd99d0fd9044b',
            'invalid_login_attempts' => '0',
            'b_address' => '184100 Briar Drive',
            'b_city' => 'Los Angeles',
            'b_state' => 'CA',
            'b_country' => 'US',
            'b_zipcode' => '95051',
            'title' => 'Mr.',
            'firstname' => 'Steve',
            'lastname' => 'Reeves',
            's_address' => '11101 SE 208th St.',
            's_city' => 'Olympia',
            's_state' => 'WA',
            's_country' => 'US',
            's_zipcode' => '98300',
            'email' => 'hide@address.com',
            'phone' => '408-220-4444',
            'fax' => '',
            'url' => '',
            'card_name' => 'Steve Reeves',
            'card_type' => 'MC',
            'card_number' => 'B-8fbd43a60850e2f5a9f43be086ec4607d4702b',
            'card_expire' => '0913',
            'card_cvv2' => '',
            'card_valid_from' => '',
            'card_issue_no' => '',
            'last_login' => '1291403146',
            'first_login' => '1286159538',
            'status' => 'C',
            'activation_key' => '',
            'autolock' => 'N',
            'suspend_date' => '0',
            'referer' => 'http://candy.com',
            'language' => 'en',
            'cart' => 'a:25:{s:10:"max_cartid"',
            'change_password' => 'N',
            'change_password_date' => '1290108428',
            'parent' => '',
            'pending_plan_id' => '0',
            'activity' => 'Y',
            'membershipid' => '0',
            'pending_membershipid' => '0',
            'tax_exempt' => 'N',
            'trusted_provider' => 'Y',
            'membership' => '',
            'pending_membership' => '',
            'flag' => 'N',
            'titleid' => '1',
            'b_titleid' => '',
            's_titleid' => '',
            'b_address_2' => '',
            'b_statename' => 'California',
            'b_countryname' => 'US',
            's_address_2' => '',
            's_statename' => 'Washington',
            's_countryname' => 'US',
            'field_sections' => array
                (
                    'P' => '1',
                    'B' => '1',
                    'S' => '1',
                    'C' => '1'
                ),

            'additional_fields' => array
                (
                ),

            'default_fields' => array
                (
                    'title' => '1',
                    'firstname' => '1',
                    'lastname' => '1',
                    'b_address' => '1',
                    'b_address_2' => '1',
                    'b_city' => '1',
                    'b_state' => '1',
                    'b_country' => '1',
                    'b_zipcode' => '1',
                    's_address' => '1',
                    's_address_2' => '1',
                    's_city' => '1',
                    's_state' => '1',
                    's_country' => '1',
                    's_zipcode' => '1',
                    'phone' => '1',
                    'email' => '1',
                    'fax' => '1',
                    'url' => '1',
                ),

            'existing_login' => '1',
            'orderid' => '51',
            'total' => '20.11',
            'giftcert_discount' => '0.00',
            'giftcert_ids' => '',
            'subtotal' => '15.00',
            'discount' => '0.00',
            'coupon' => '',
            'coupon_discount' => '0.00',
            'shippingid' => '43',
            'shipping' => 'FedEx Ground',
            'tracking' => '173944330069519',
            'shipping_cost' => '5.11',
            'tax' => '0.00',
            'taxes_applied' => 'a:0:{}',
            'date' => '1291311736',
            'payment_method' => 'Credit Card (PayFlow - Pro)',
            'notes' => '',
            'details' => 'B-7d70e94f8059362a2e83830ae8439486f3b2b',
            'customer_notes' => '',
            'customer' => '',
            'company' => '',
            'b_title' => '',
            'b_firstname' => '',
            'b_lastname' => '',
            'b_county' => '',
            's_title' => '',
            's_firstname' => '',
            's_lastname' => '',
            's_county' => '',
            'clickid' => '0',
            'extra' => 'a:2:{s:17:"additional_fields";a:0:{}s:8:',
            'paymentid' => '17',
            'payment_surcharge' => '0.00',
            'tax_number' => '',
            'init_total' => '20.11',
            's_country_text' => 'US',
            's_state_text' => 'Washington',
        ),

    'giftcerts' => '',
    )
)

?>
Return current item: XML Helper