123123123 - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of 123123123.php

  1. [
  2.                 [
  3.                     'username' => '0315702796_service',
  4.                     'password' => '123456aA@',
  5.                     'convert' => 0,
  6.                     'xmlInvData' => [
  7.                         'Invoices' => [
  8.                             [
  9.                                 "Inv" => [
  10.                                     "key" => "KEY-123123",
  11.                                     "Invoice" => [
  12.                                         "OrderNo" => "123123",
  13.                                         "OrderDate" => "27/10/1989",
  14.                                         "CusCode" => "123123",
  15.                                         "CusName" => "FPP",
  16.                                         "CusCom" => "CTY FPP",
  17.                                         "CusAddress" => "DIA CHI FPP",
  18.                                         "CusPhone" => "0932981233",
  19.                                         "CusTaxCode" => "123123123123",
  20.                                         "PaymentMethod" => "Chuyen Khoan",
  21.                                         "Products" => [
  22.                                             "Product" => [
  23.                                                 "Code" => "123123",
  24.                                                 "ProdName" => "San pham 1",
  25.                                                 "ProdUnit" => "cai",
  26.                                                 "ProdQuantity" => 2,
  27.                                                 "ProdPrice" => 100000,
  28.                                                 "Total" => 200000,
  29.                                                 "VATRate" => 1000,
  30.                                                 "VATAmount" => 1000,
  31.                                                 "Amount" => 1000
  32.                                             ]
  33.                                         ],
  34.                                         "GrossValue" => 1000,
  35.                                         "VatAmount0" => 0,
  36.                                         "GrossValue0" => 0,
  37.                                         "VatAmount5" => 5,
  38.                                         "GrossValue5" => 5,
  39.                                         "VatAmount10" => 10,
  40.                                         "GrossValue10" => 10,
  41.                                         "Total" => 10000,
  42.                                         "VATAmount" => 100000,
  43.                                         "Amount" => 100000,
  44.                                         "AmountInWords" => "1 trieu dong",
  45.                                         "ArisingDate" => "31/12/2016",
  46.                                         "EmailDeliver" => "[email protected]",
  47.                                         "SMSDeliver" => "0932918960"
  48.                                     ]
  49.                                 ]
  50.                             ]
  51.                         ]
  52.                     ]
  53.                 ]
  54.             ]
File Description
  • 123123123
  • PHP Code
  • 24 Jun-2019
  • 2.87 Kb
You can Share it: