URLDecode after PHP JSON encoding

From , 5 Years ago, written in PHP, viewed 114 times.
URL https://pastebin.vip/view/177540c7
  1. <code>//代码
  2. foreach ( $data as $key => $value ) {
  3.     $newData[$key] = urlencode ( $value );
  4. }
  5. echo urldecode(json_encode($newData));
  6. //显示
  7. {"status":"1","method":"登陆","message":"成功"}
  8. </code>

Reply to "URLDecode after PHP JSON encoding"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website