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));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4QSg2
function name:  (null)
number of ops:  9
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%22entity_id%22%3A%22129189%22%2C%22state%22%3A%22new%22%2C%22status%22%3A%22payfort_payment_stock_issued%22%2C%22coupon_code%22%3Anull%2C%22protect_code%22%3A%2297dcd0a2ff899aba8b7effef239b9c33%22%2C%22shipping_description%22%3A%22Store+Pickup+-+Store+Pickup%22%2C%22is_virtual%22%3A%220%22%2C%22store_id%22%3A%224%22%2C%22customer_id%22%3A%22133103%22%2C%22base_discount_amount%22%3A%220.0000%22%2C%22base_discount_canceled%22%3Anull%2C%22base_discount_invoiced%22%3Anull%2C%22base_discount_refunded%22%3Anull%2C%22base_grand_total%22%3A%22149.0000%22%2C%22base_shipping_amount%22%3A%220.0000%22%2C%22base_shipping_canceled%22%3Anull%2C%22base_shipping_invoiced%22%3Anull%2C%22base_shipping_refunded%22%3Anull%2C%22base_shipping_tax_amount%22%3A%220.0000%22%2C%22base_shipping_tax_refunded%22%3Anull%2C%22base_subtotal%22%3A%22149.0000%22%2C%22base_subtotal_canceled%22%3Anull%2C%22base_subtotal_invoiced%22%3Anull%2C%22base_subtotal_refunded%22%3Anull%2C%22base_tax_amount%22%3A%220.0000%22%2C%22base_tax_canceled%22%3Anull%2C%22base_tax_invoiced%22%3Anull%2C%22base_tax_refunded%22%3Anull%2C%22base_to_global_rate%22%3A%221.0000%22%2C%22base_to_order_rate%22%3A%221.0000%22%2C%22base_total_canceled%22%3Anull%2C%22base_total_invoiced%22%3Anull%2C%22base_total_invoiced_cost%22%3Anull%2C%22base_total_offline_refunded%22%3Anull%2C%22base_total_online_refunded%22%3Anull%2C%22base_total_paid%22%3Anull%2C%22base_total_qty_ordered%22%3Anull%2C%22base_total_refunded%22%3Anull%2C%22discount_amount%22%3A%220.0000%22%2C%22discount_canceled%22%3Anull%2C%22discount_invoiced%22%3Anull%2C%22discount_refunded%22%3Anull%2C%22grand_total%22%3A%22149.0000%22%2C%22shipping_amount%22%3A%220.0000%22%2C%22shipping_canceled%22%3Anull%2C%22shipping_invoiced%22%3Anull%2C%22shipping_refunded%22%3Anull%2C%22shipping_tax_amount%22%3A%220.0000%22%2C%22shipping_tax_refunded%22%3Anull%2C%22store_to_base_rate%22%3A%220.0000%22%2C%22store_to_order_rate%22%3A%220.0000%22%2C%22subtotal%22%3A%22149.0000%22%2C%22subtotal_canceled%22%3Anull%2C%22subtotal_invoiced%22%3Anull%2C%22subtotal_refunded%22%3Anull%2C%22tax_amount%22%3A%220.0000%22%2C%22tax_canceled%22%3Anull%2C%22tax_invoiced%22%3Anull%2C%22tax_refunded%22%3Anull%2C%22total_canceled%22%3Anull%2C%22total_invoiced%22%3Anull%2C%22total_offline_refunded%22%3Anull%2C%22total_online_refunded%22%3Anull%2C%22total_paid%22%3Anull%2C%22total_qty_ordered%22%3A%221.0000%22%2C%22total_refunded%22%3Anull%2C%22can_ship_partially%22%3Anull%2C%22can_ship_partially_item%22%3Anull%2C%22customer_is_guest%22%3A%220%22%2C%22customer_note_notify%22%3A%221%22%2C%22billing_address_id%22%3A%22258333%22%2C%22customer_group_id%22%3A%221%22%2C%22edit_increment%22%3Anull%2C%22email_sent%22%3A%221%22%2C%22send_email%22%3A%221%22%2C%22forced_shipment_with_invoice%22%3Anull%2C%22payment_auth_expiration%22%3Anull%2C%22quote_address_id%22%3Anull%2C%22quote_id%22%3A%22211485%22%2C%22shipping_address_id%22%3A%22258330%22%2C%22adjustment_negative%22%3Anull%2C%22adjustment_positive%22%3Anull%2C%22base_adjustment_negative%22%3Anull%2C%22base_adjustment_positive%22%3Anull%2C%22base_shipping_discount_amount%22%3A%220.0000%22%2C%22base_subtotal_incl_tax%22%3A%22149.0000%22%2C%22base_total_due%22%3A%22149.0000%22%2C%22payment_authorization_amount%22%3Anull%2C%22shipping_discount_amount%22%3A%220.0000%22%2C%22subtotal_incl_tax%22%3A%22149.0000%22%2C%22total_due%22%3A%22149.0000%22%2C%22weight%22%3A%220.0000%22%2C%22customer_dob%22%3Anull%2C%22increment_id%22%3A%224000126873%22%2C%22applied_rule_ids%22%3Anull%2C%22base_currency_code%22%3A%22EGP%22%2C%22customer_email%22%3A%22mostafa.sayed%40robustastudio.com%22%2C%22customer_firstname%22%3A%22Mostafa%22%2C%22customer_lastname%22%3A%22Bokshi%22%2C%22customer_middlename%22%3Anull%2C%22customer_prefix%22%3Anull%2C%22customer_suffix%22%3Anull%2C%22customer_taxvat%22%3Anull%2C%22discount_description%22%3Anull%2C%22ext_customer_id%22%3Anull%2C%22ext_order_id%22%3Anull%2C%22global_currency_code%22%3A%22EGP%22%2C%22hold_before_state%22%3Anull%2C%22hold_before_status%22%3Anull%2C%22order_currency_code%22%3A%22EGP%22%2C%22original_increment_id%22%3Anull%2C%22relation_child_id%22%3Anull%2C%22relation_child_real_id%22%3Anull%2C%22relation_parent_id%22%3Anull%2C%22relation_parent_real_id%22%3Anull%2C%22remote_ip%22%3A%22100.25.9.77%22%2C%22shipping_method%22%3A%22storepickup_storepickup%22%2C%22store_currency_code%22%3A%22EGP%22%2C%22store_name%22%3A%22Main+Website%5CnMain+Website+Store%5CnArabic%22%2C%22x_forwarded_for%22%3Anull%2C%22customer_note%22%3Anull%2C%22created_at%22%3A%222022-08-14+15%3A39%3A05%22%2C%22updated_at%22%3A%222022-08-14+15%3A45%3A05%22%2C%22total_item_count%22%3A%221%22%2C%22customer_gender%22%3Anull%2C%22discount_tax_compensation_amount%22%3A%220.0000%22%2C%22base_discount_tax_compensation_amount%22%3A%220.0000%22%2C%22shipping_discount_tax_compensation_amount%22%3A%220.0000%22%2C%22base_shipping_discount_tax_compensation_amnt%22%3A%220.0000%22%2C%22discount_tax_compensation_invoiced%22%3Anull%2C%22base_discount_tax_compensation_invoiced%22%3Anull%2C%22discount_tax_compensation_refunded%22%3Anull%2C%22base_discount_tax_compensation_refunded%22%3Anull%2C%22shipping_incl_tax%22%3A%220.0000%22%2C%22base_shipping_incl_tax%22%3A%220.0000%22%2C%22coupon_rule_name%22%3Anull%2C%22base_customer_balance_amount%22%3Anull%2C%22customer_balance_amount%22%3Anull%2C%22base_customer_balance_invoiced%22%3Anull%2C%22customer_balance_invoiced%22%3Anull%2C%22base_customer_balance_refunded%22%3Anull%2C%22customer_balance_refunded%22%3Anull%2C%22bs_customer_bal_total_refunded%22%3Anull%2C%22customer_bal_total_refunded%22%3Anull%2C%22gift_cards%22%3A%22%5B%5D%22%2C%22base_gift_cards_amount%22%3A%220.0000%22%2C%22gift_cards_amount%22%3A%220.0000%22%2C%22base_gift_cards_invoiced%22%3Anull%2C%22gift_cards_invoiced%22%3Anull%2C%22base_gift_cards_refunded%22%3Anull%2C%22gift_cards_refunded%22%3Anull%2C%22gift_message_id%22%3Anull%2C%22gw_id%22%3Anull%2C%22gw_allow_gift_receipt%22%3Anull%2C%22gw_add_card%22%3Anull%2C%22gw_base_price%22%3A%220.0000%22%2C%22gw_price%22%3A%220.0000%22%2C%22gw_items_base_price%22%3A%220.0000%22%2C%22gw_items_price%22%3A%220.0000%22%2C%22gw_card_base_price%22%3A%220.0000%22%2C%22gw_card_price%22%3A%220.0000%22%2C%22gw_base_tax_amount%22%3Anull%2C%22gw_tax_amount%22%3Anull%2C%22gw_items_base_tax_amount%22%3Anull%2C%22gw_items_tax_amount%22%3Anull%2C%22gw_card_base_tax_amount%22%3Anull%2C%22gw_card_tax_amount%22%3Anull%2C%22gw_base_price_incl_tax%22%3Anull%2C%22gw_price_incl_tax%22%3Anull%2C%22gw_items_base_price_incl_tax%22%3Anull%2C%22gw_items_price_incl_tax%22%3Anull%2C%22gw_card_base_price_incl_tax%22%3Anull%2C%22gw_card_price_incl_tax%22%3Anull%2C%22gw_base_price_invoiced%22%3Anull%2C%22gw_price_invoiced%22%3Anull%2C%22gw_items_base_price_invoiced%22%3Anull%2C%22gw_items_price_invoiced%22%3Anull%2C%22gw_card_base_price_invoiced%22%3Anull%2C%22gw_card_price_invoiced%22%3Anull%2C%22gw_base_tax_amount_invoiced%22%3Anull%2C%22gw_tax_amount_invoiced%22%3Anull%2C%22gw_items_base_tax_invoiced%22%3Anull%2C%22gw_items_tax_invoiced%22%3Anull%2C%22gw_card_base_tax_invoiced%22%3Anull%2C%22gw_card_tax_invoiced%22%3Anull%2C%22gw_base_price_refunded%22%3Anull%2C%22gw_price_refunded%22%3Anull%2C%22gw_items_base_price_refunded%22%3Anull%2C%22gw_items_price_refunded%22%3Anull%2C%22gw_card_base_price_refunded%22%3Anull%2C%22gw_card_price_refunded%22%3Anull%2C%22gw_base_tax_amount_refunded%22%3Anull%2C%22gw_tax_amount_refunded%22%3Anull%2C%22gw_items_base_tax_refunded%22%3Anull%2C%22gw_items_tax_refunded%22%3Anull%2C%22gw_card_base_tax_refunded%22%3Anull%2C%22gw_card_tax_refunded%22%3Anull%2C%22paypal_ipn_customer_notified%22%3A%220%22%2C%22reward_points_balance%22%3Anull%2C%22base_reward_currency_amount%22%3Anull%2C%22reward_currency_amount%22%3Anull%2C%22base_rwrd_crrncy_amt_invoiced%22%3Anull%2C%22rwrd_currency_amount_invoiced%22%3Anull%2C%22base_rwrd_crrncy_amnt_refnded%22%3Anull%2C%22rwrd_crrncy_amnt_refunded%22%3Anull%2C%22reward_points_balance_refund%22%3Anull%2C%22mp_smtp_email_marketing_synced%22%3A%220%22%2C%22seen%22%3A%221%22%2C%22confirmed_admin_id%22%3Anull%2C%22additional_information%22%3A%22%7B%5C%22order_source%5C%22%3A%5C%22ca-ios%5C%22%7D%22%2C%22is_rms_synced%22%3A%220%22%2C%22rms_sync_date%22%3Anull%2C%22is_rms_sync_failed%22%3A%220%22%2C%22rms_sync_failed_date%22%3Anull%2C%22is_norma_synced%22%3A%220%22%2C%22norma_trip_start_time%22%3Anull%2C%22norma_customer_eta%22%3Anull%2C%22norma_time_window_from%22%3Anull%2C%22norma_time_window_to%22%3Anull%2C%22norma_cash_due%22%3Anull%2C%22norma_visa_due%22%3Anull%2C%22norma_payment_used%22%3Anull%2C%22norma_payment_status%22%3Anull%2C%22norma_driver_name%22%3Anull%2C%22norma_driver_mobile%22%3Anull%2C%22norma_latitude%22%3Anull%2C%22norma_longitude%22%3Anull%2C%22norma_customer_start_time%22%3Anull%2C%22cancellation_reason%22%3Anull%2C%22pickers_synced%22%3A%220%22%2C%22pickers_sync_failed_trials%22%3A6%2C%22is_picked%22%3A%220%22%2C%22feedback_comments%22%3Anull%2C%22is_rated%22%3A%220%22%2C%22mp_smtp_email_marketing_order_created%22%3A%220%22%2C%22pickup_store_code%22%3Anull%2C%22in_pickers_queue%22%3Afalse%2C%22norma_status%22%3Anull%2C%22is_rating_dismissed%22%3A%220%22%2C%22client_source%22%3A%22ca-ios%22%2C%22extension_attributes%22%3A%7B%7D%2C%22items%22%3A%7B%221693278%22%3A%7B%7D%7D%2C%22payment%22%3A%7B%7D%2C%22status_histories%22%3A%7B%22882210%22%3A%7B%7D%7D%2C%22addresses%22%3A%7B%22258330%22%3A%7B%7D%2C%22258333%22%3A%7B%7D%7D%7D'
    5     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.52 ms | 1404 KiB | 17 Q