Hi! Could we please enable some services and cookies to improve your experience and our website?

PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular

PHPize.online is a free online environment for quickly running, experimenting with and sharing PHP (including Carbon extension for DateTime) and SQL code. You can run your SQL code with PHP code that can use the same DB. For database manipulations you can use pre-defined instances of PDO ($pdo), mysqli ($mysqli) & Laravel query builder ($db)

Copy Format Clear
Copy Clear
Copy Format Clear
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://script.google.com/macros/s/AKfycby4x8DP8NXgyJfh7DfbBfLI39Gx-4uEPqkT08gzVwA2fBWu7pjkq3-s5UGNaJ1bflpv/exec', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS =>'{ "id": 5948064071873, "admin_graphql_api_id": "gid:\\/\\/shopify\\/Order\\/5948064071873", "app_id": 580111, "browser_ip": "2001:268:998b:761e:d9f2:f1fb:e88a:daca", "buyer_accepts_marketing": true, "cancel_reason": null, "cancelled_at": null, "cart_token": "Z2NwLWFzaWEtc291dGhlYXN0MTowMUowVFhLUTREVjk5WVlHODBIUjJOVFBFTQ", "checkout_id": 39461907431617, "checkout_token": "dc5bddb4f6aafeba0b96f6660dd86b6d", "client_details": { "accept_language": "ja-JP", "browser_height": null, "browser_ip": "2001:268:998b:761e:d9f2:f1fb:e88a:daca", "browser_width": null, "session_hash": null, "user_agent": "Mozilla\\/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit\\/605.1.15 (KHTML, like Gecko) GSA\\/320.0.639621854 Mobile\\/15E148 Safari\\/604.1" }, "closed_at": null, "confirmation_number": "L9G6Z8PCK", "confirmed": true, "contact_email": "damsiribandara0@gmail.com", "created_at": "2024-06-20T22:42:43+09:00", "currency": "JPY", "current_subtotal_price": "3450", "current_subtotal_price_set": { "shop_money": { "amount": "3450", "currency_code": "JPY" }, "presentment_money": { "amount": "3450", "currency_code": "JPY" } }, "current_total_additional_fees_set": null, "current_total_discounts": "0", "current_total_discounts_set": { "shop_money": { "amount": "0", "currency_code": "JPY" }, "presentment_money": { "amount": "0", "currency_code": "JPY" } }, "current_total_duties_set": null, "current_total_price": "3450", "current_total_price_set": { "shop_money": { "amount": "3450", "currency_code": "JPY" }, "presentment_money": { "amount": "3450", "currency_code": "JPY" } }, "current_total_tax": "0", "current_total_tax_set": { "shop_money": { "amount": "0", "currency_code": "JPY" }, "presentment_money": { "amount": "0", "currency_code": "JPY" } }, "customer_locale": "ja-JP", "device_id": null, "discount_codes": [], "email": "damsiribandara0@gmail.com", "estimated_taxes": false, "financial_status": "paid", "fulfillment_status": null, "landing_site": "\\/products\\/tadalis-sx20mg-4-tablet-per-box?variant=39595924062401", "landing_site_ref": null, "location_id": null, "merchant_of_record_app_id": null, "name": "#39120519", "note": null, "note_attributes": [ { "name": "Agreed to the Terms and Conditions on", "value": "Thu Jun 20 2024 22:33:20 GMT+0900 (Japan Standard Time)" }, { "name": "Post Office Delivery", "value": "No" } ], "number": 205, "order_number": 1205, "order_status_url": "https:\\/\\/www.tengudou.net\\/55533895873\\/orders\\/d96a9bbf58e0a79a37c5d854a49fd21e\\/authenticate?key=8a93fcea51eaed70c46398f770673112", "original_total_additional_fees_set": null, "original_total_duties_set": null, "payment_gateway_names": [ "Bank Deposit" ], "phone": null, "po_number": null, "presentment_currency": "JPY", "processed_at": "2024-06-20T22:42:41+09:00", "reference": "ba091b4f54cdfeb357c21786584c2e7d", "referring_site": "", "source_identifier": "ba091b4f54cdfeb357c21786584c2e7d", "source_name": "web", "source_url": null, "subtotal_price": "3450", "subtotal_price_set": { "shop_money": { "amount": "3450", "currency_code": "JPY" }, "presentment_money": { "amount": "3450", "currency_code": "JPY" } }, "tags": "", "tax_exempt": false, "tax_lines": [], "taxes_included": true, "test": false, "token": "d96a9bbf58e0a79a37c5d854a49fd21e", "total_discounts": "0", "total_discounts_set": { "shop_money": { "amount": "0", "currency_code": "JPY" }, "presentment_money": { "amount": "0", "currency_code": "JPY" } }, "total_line_items_price": "3450", "total_line_items_price_set": { "shop_money": { "amount": "3450", "currency_code": "JPY" }, "presentment_money": { "amount": "3450", "currency_code": "JPY" } }, "total_outstanding": "0", "total_price": "3450", "total_price_set": { "shop_money": { "amount": "3450", "currency_code": "JPY" }, "presentment_money": { "amount": "3450", "currency_code": "JPY" } }, "total_shipping_price_set": { "shop_money": { "amount": "0", "currency_code": "JPY" }, "presentment_money": { "amount": "0", "currency_code": "JPY" } }, "total_tax": "0", "total_tax_set": { "shop_money": { "amount": "0", "currency_code": "JPY" }, "presentment_money": { "amount": "0", "currency_code": "JPY" } }, "total_tip_received": "0", "total_weight": 0, "updated_at": "2024-06-25T14:52:01+09:00", "user_id": null, "billing_address": { "first_name": "Tharaka", "address1": "Yachimata shi, yachimata ho", "phone": "09097260244", "city": "Yachimata shi", "zip": "289-1115", "province": "Chiba", "country": "Japan", "last_name": "Samarakoon", "address2": "216-45", "company": null, "latitude": 35.6575048, "longitude": 140.3163182, "name": "SamarakoonTharaka", "country_code": "JP", "province_code": "JP-12" }, "customer": { "id": 7365097095361, "email": "damsiribandara0@gmail.com", "created_at": "2023-11-25T18:16:23+09:00", "updated_at": "2024-06-20T22:42:44+09:00", "first_name": "Tharaka", "last_name": "Samarakoon", "state": "enabled", "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "phone": null, "email_marketing_consent": { "state": "subscribed", "opt_in_level": "single_opt_in", "consent_updated_at": "2023-11-25T18:16:23+09:00" }, "sms_marketing_consent": null, "tags": "newsletter, prospect", "currency": "JPY", "tax_exemptions": [], "admin_graphql_api_id": "gid:\\/\\/shopify\\/Customer\\/7365097095361", "default_address": { "id": 10028896649409, "customer_id": 7365097095361, "first_name": "Tharaka", "last_name": "Samarakoon", "company": null, "address1": "Yachimata shi, yachimata ho", "address2": "216-45", "city": "Yachimata shi", "province": "Chiba", "country": "Japan", "zip": "289-1115", "phone": "09097260244", "name": "SamarakoonTharaka", "province_code": "JP-12", "country_code": "JP", "country_name": "Japan", "default": true } }, "discount_applications": [], "fulfillments": [], "line_items": [ { "id": 15062909452481, "admin_graphql_api_id": "gid:\\/\\/shopify\\/LineItem\\/15062909452481", "current_quantity": 1, "fulfillable_quantity": 1, "fulfillment_service": "manual", "fulfillment_status": null, "gift_card": false, "grams": 0, "name": "シアリス・ジェネリック_タダリスSX (Tadalis-SX)20mg (1箱4錠) - 7箱", "price": "3450", "price_set": { "shop_money": { "amount": "3450", "currency_code": "JPY" }, "presentment_money": { "amount": "3450", "currency_code": "JPY" } }, "product_exists": true, "product_id": 6626419474625, "properties": [], "quantity": 1, "requires_shipping": true, "sku": "", "taxable": false, "title": "シアリス・ジェネリック_タダリスSX (Tadalis-SX)20mg (1箱4錠)", "total_discount": "0", "total_discount_set": { "shop_money": { "amount": "0", "currency_code": "JPY" }, "presentment_money": { "amount": "0", "currency_code": "JPY" } }, "variant_id": 39595924127937, "variant_inventory_management": null, "variant_title": "7箱", "vendor": "天狗堂(個人輸入サービス)", "tax_lines": [], "duties": [], "discount_allocations": [] } ], "payment_terms": null, "refunds": [], "shipping_address": { "first_name": "Tharaka", "address1": "Yachimata shi, yachimata ho", "phone": "09097260244", "city": "Yachimata shi", "zip": "289-1115", "province": "Chiba", "country": "Japan", "last_name": "Samarakoon", "address2": "216-45", "company": null, "latitude": 35.6575048, "longitude": 140.3163182, "name": "SamarakoonTharaka", "country_code": "JP", "province_code": "JP-12" }, "shipping_lines": [ { "id": 4787482656961, "carrier_identifier": "650f1a14fa979ec5c74d063e968411d4", "code": "宅急便(お振込み確認後から2日営業日以内で出荷)", "discounted_price": "0", "discounted_price_set": { "shop_money": { "amount": "0", "currency_code": "JPY" }, "presentment_money": { "amount": "0", "currency_code": "JPY" } }, "is_removed": false, "phone": null, "price": "0", "price_set": { "shop_money": { "amount": "0", "currency_code": "JPY" }, "presentment_money": { "amount": "0", "currency_code": "JPY" } }, "requested_fulfillment_service_id": null, "source": "shopify", "title": "宅急便(お振込み確認後から2日営業日以内で出荷)", "tax_lines": [], "discount_allocations": [] } ] }', CURLOPT_HTTPHEADER => array( 'Content-Type: application/json' ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
Show:  
Copy Clear