$json - 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 $json.php

  1. <?php
  2. $json = '{\"id\":\"3\",\"n_b\":\"1\",\"n_v\":\"3\",\"vopros\":\"Можно ли Вам остановиться в указанном месте для посадки пассажира?\",\"img\":\"\\\"images/pdd-01-03.jpg\\\" width=\\\"500\\\" height=\\\"191\\\"\",\"pod\":\"Знак ((mensheZnak))a href=\\\"../pdd/znaki3.html?z=3.28#n1\\\" target=\\\"_blank\\\"((bolsheZnak))3.28((mensheZnak))/a((bolsheZnak)) ((mensheZnak))img src=\\\"../pdd/img/3.28.png\\\" alt=\\\"\\\" style=\\\"display: inline; max-height: 1.5em; margin-bottom: 0.75em; margin: 0 0 0 0;\\\"((bolsheZnak)) «Стоянка запрещена» остановку не запрещает, поэтому Вы можете остановиться в указанном месте.\",\"otwet\":\"Можно.;; Можно, если Вы управляете такси.;; Нельзя.\",\"g_otwet\":\"Можно.\\ntest\\nsdfsdfdsfasdasdsad\\nasdasdasdasdasdasd\\nassd\",\"status\":\"1\"}';
  3.  
  4. var_dump(json_decode($json));
File Description
  • $json
  • PHP Code
  • 20 Sep-2021
  • 1000 Bytes
You can Share it: