test - 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 test.php

  1. <?php
  2. $str = "{\"payment_summa\":\"5000\",\"timestamp\":\"2022-05-12 00:00:00\"}";
  3. $ar = json_decode($str1);
  4. ?>
File Description
  • test
  • PHP Code
  • 15 May-2022
  • 111 Bytes
You can Share it: