3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "{\"entity_id\":\"129189\",\"state\":\"new\",\"status\":\"payfort_payment_stock_issued\",\"coupon_code\":null,\"protect_code\":\"97dcd0a2ff899aba8b7effef239b9c33\",\"shipping_description\":\"Store Pickup - Store Pickup\",\"is_virtual\":\"0\",\"store_id\":\"4\",\"customer_id\":\"133103\",\"base_discount_amount\":\"0.0000\",\"base_discount_canceled\":null,\"base_discount_invoiced\":null,\"base_discount_refunded\":null,\"base_grand_total\":\"149.0000\",\"base_shipping_amount\":\"0.0000\",\"base_shipping_canceled\":null,\"base_shipping_invoiced\":null,\"base_shipping_refunded\":null,\"base_shipping_tax_amount\":\"0.0000\",\"base_shipping_tax_refunded\":null,\"base_subtotal\":\"149.0000\",\"base_subtotal_canceled\":null,\"base_subtotal_invoiced\":null,\"base_subtotal_refunded\":null,\"base_tax_amount\":\"0.0000\",\"base_tax_canceled\":null,\"base_tax_invoiced\":null,\"base_tax_refunded\":null,\"base_to_global_rate\":\"1.0000\",\"base_to_order_rate\":\"1.0000\",\"base_total_canceled\":null,\"base_total_invoiced\":null,\"base_total_invoiced_cost\":null,\"base_total_offline_refunded\":null,\"base_total_online_refunded\":null,\"base_total_paid\":null,\"base_total_qty_ordered\":null,\"base_total_refunded\":null,\"discount_amount\":\"0.0000\",\"discount_canceled\":null,\"discount_invoiced\":null,\"discount_refunded\":null,\"grand_total\":\"149.0000\",\"shipping_amount\":\"0.0000\",\"shipping_canceled\":null,\"shipping_invoiced\":null,\"shipping_refunded\":null,\"shipping_tax_amount\":\"0.0000\",\"shipping_tax_refunded\":null,\"store_to_base_rate\":\"0.0000\",\"store_to_order_rate\":\"0.0000\",\"subtotal\":\"149.0000\",\"subtotal_canceled\":null,\"subtotal_invoiced\":null,\"subtotal_refunded\":null,\"tax_amount\":\"0.0000\",\"tax_canceled\":null,\"tax_invoiced\":null,\"tax_refunded\":null,\"total_canceled\":null,\"total_invoiced\":null,\"total_offline_refunded\":null,\"total_online_refunded\":null,\"total_paid\":null,\"total_qty_ordered\":\"1.0000\",\"total_refunded\":null,\"can_ship_partially\":null,\"can_ship_partially_item\":null,\"customer_is_guest\":\"0\",\"customer_note_notify\":\"1\",\"billing_address_id\":\"258333\",\"customer_group_id\":\"1\",\"edit_increment\":null,\"email_sent\":\"1\",\"send_email\":\"1\",\"forced_shipment_with_invoice\":null,\"payment_auth_expiration\":null,\"quote_address_id\":null,\"quote_id\":\"211485\",\"shipping_address_id\":\"258330\",\"adjustment_negative\":null,\"adjustment_positive\":null,\"base_adjustment_negative\":null,\"base_adjustment_positive\":null,\"base_shipping_discount_amount\":\"0.0000\",\"base_subtotal_incl_tax\":\"149.0000\",\"base_total_due\":\"149.0000\",\"payment_authorization_amount\":null,\"shipping_discount_amount\":\"0.0000\",\"subtotal_incl_tax\":\"149.0000\",\"total_due\":\"149.0000\",\"weight\":\"0.0000\",\"customer_dob\":null,\"increment_id\":\"4000126873\",\"applied_rule_ids\":null,\"base_currency_code\":\"EGP\",\"customer_email\":\"mostafa.sayed@robustastudio.com\",\"customer_firstname\":\"Mostafa\",\"customer_lastname\":\"Bokshi\",\"customer_middlename\":null,\"customer_prefix\":null,\"customer_suffix\":null,\"customer_taxvat\":null,\"discount_description\":null,\"ext_customer_id\":null,\"ext_order_id\":null,\"global_currency_code\":\"EGP\",\"hold_before_state\":null,\"hold_before_status\":null,\"order_currency_code\":\"EGP\",\"original_increment_id\":null,\"relation_child_id\":null,\"relation_child_real_id\":null,\"relation_parent_id\":null,\"relation_parent_real_id\":null,\"remote_ip\":\"100.25.9.77\",\"shipping_method\":\"storepickup_storepickup\",\"store_currency_code\":\"EGP\",\"store_name\":\"Main Website\\nMain Website Store\\nArabic\",\"x_forwarded_for\":null,\"customer_note\":null,\"created_at\":\"2022-08-14 15:39:05\",\"updated_at\":\"2022-08-14 15:45:05\",\"total_item_count\":\"1\",\"customer_gender\":null,\"discount_tax_compensation_amount\":\"0.0000\",\"base_discount_tax_compensation_amount\":\"0.0000\",\"shipping_discount_tax_compensation_amount\":\"0.0000\",\"base_shipping_discount_tax_compensation_amnt\":\"0.0000\",\"discount_tax_compensation_invoiced\":null,\"base_discount_tax_compensation_invoiced\":null,\"discount_tax_compensation_refunded\":null,\"base_discount_tax_compensation_refunded\":null,\"shipping_incl_tax\":\"0.0000\",\"base_shipping_incl_tax\":\"0.0000\",\"coupon_rule_name\":null,\"base_customer_balance_amount\":null,\"customer_balance_amount\":null,\"base_customer_balance_invoiced\":null,\"customer_balance_invoiced\":null,\"base_customer_balance_refunded\":null,\"customer_balance_refunded\":null,\"bs_customer_bal_total_refunded\":null,\"customer_bal_total_refunded\":null,\"gift_cards\":\"[]\",\"base_gift_cards_amount\":\"0.0000\",\"gift_cards_amount\":\"0.0000\",\"base_gift_cards_invoiced\":null,\"gift_cards_invoiced\":null,\"base_gift_cards_refunded\":null,\"gift_cards_refunded\":null,\"gift_message_id\":null,\"gw_id\":null,\"gw_allow_gift_receipt\":null,\"gw_add_card\":null,\"gw_base_price\":\"0.0000\",\"gw_price\":\"0.0000\",\"gw_items_base_price\":\"0.0000\",\"gw_items_price\":\"0.0000\",\"gw_card_base_price\":\"0.0000\",\"gw_card_price\":\"0.0000\",\"gw_base_tax_amount\":null,\"gw_tax_amount\":null,\"gw_items_base_tax_amount\":null,\"gw_items_tax_amount\":null,\"gw_card_base_tax_amount\":null,\"gw_card_tax_amount\":null,\"gw_base_price_incl_tax\":null,\"gw_price_incl_tax\":null,\"gw_items_base_price_incl_tax\":null,\"gw_items_price_incl_tax\":null,\"gw_card_base_price_incl_tax\":null,\"gw_card_price_incl_tax\":null,\"gw_base_price_invoiced\":null,\"gw_price_invoiced\":null,\"gw_items_base_price_invoiced\":null,\"gw_items_price_invoiced\":null,\"gw_card_base_price_invoiced\":null,\"gw_card_price_invoiced\":null,\"gw_base_tax_amount_invoiced\":null,\"gw_tax_amount_invoiced\":null,\"gw_items_base_tax_invoiced\":null,\"gw_items_tax_invoiced\":null,\"gw_card_base_tax_invoiced\":null,\"gw_card_tax_invoiced\":null,\"gw_base_price_refunded\":null,\"gw_price_refunded\":null,\"gw_items_base_price_refunded\":null,\"gw_items_price_refunded\":null,\"gw_card_base_price_refunded\":null,\"gw_card_price_refunded\":null,\"gw_base_tax_amount_refunded\":null,\"gw_tax_amount_refunded\":null,\"gw_items_base_tax_refunded\":null,\"gw_items_tax_refunded\":null,\"gw_card_base_tax_refunded\":null,\"gw_card_tax_refunded\":null,\"paypal_ipn_customer_notified\":\"0\",\"reward_points_balance\":null,\"base_reward_currency_amount\":null,\"reward_currency_amount\":null,\"base_rwrd_crrncy_amt_invoiced\":null,\"rwrd_currency_amount_invoiced\":null,\"base_rwrd_crrncy_amnt_refnded\":null,\"rwrd_crrncy_amnt_refunded\":null,\"reward_points_balance_refund\":null,\"mp_smtp_email_marketing_synced\":\"0\",\"seen\":\"1\",\"confirmed_admin_id\":null,\"additional_information\":\"{\\\"order_source\\\":\\\"ca-ios\\\"}\",\"is_rms_synced\":\"0\",\"rms_sync_date\":null,\"is_rms_sync_failed\":\"0\",\"rms_sync_failed_date\":null,\"is_norma_synced\":\"0\",\"norma_trip_start_time\":null,\"norma_customer_eta\":null,\"norma_time_window_from\":null,\"norma_time_window_to\":null,\"norma_cash_due\":null,\"norma_visa_due\":null,\"norma_payment_used\":null,\"norma_payment_status\":null,\"norma_driver_name\":null,\"norma_driver_mobile\":null,\"norma_latitude\":null,\"norma_longitude\":null,\"norma_customer_start_time\":null,\"cancellation_reason\":null,\"pickers_synced\":\"0\",\"pickers_sync_failed_trials\":6,\"is_picked\":\"0\",\"feedback_comments\":null,\"is_rated\":\"0\",\"mp_smtp_email_marketing_order_created\":\"0\",\"pickup_store_code\":null,\"in_pickers_queue\":false,\"norma_status\":null,\"is_rating_dismissed\":\"0\",\"client_source\":\"ca-ios\",\"extension_attributes\":{},\"items\":{\"1693278\":{}},\"payment\":{},\"status_histories\":{\"882210\":{}},\"addresses\":{\"258330\":{},\"258333\":{}}}"; print_r(json_decode($string,true));

preferences:
52.17 ms | 402 KiB | 5 Q