Answers for "php remove slashes"

PHP
0

remove slashes from json php

json_decode($val, true, JSON_UNESCAPED_SLASHES);
Posted by: Guest on January-06-2021
0

php remove slashes from json

echo stripslashes('{\"test\":{\"test1\":{\"test1\":[{\"test2\":\"1\",\"test3\": \"foo\",\"test4\":\"bar\",\"test5\":\"test7\"}]}}}');
Posted by: Guest on October-02-2020
0

php remove slash from string

echo preg_replace('/\\\\/', '', $var);
Posted by: Guest on October-18-2021

Code answers related to "php remove slashes"

Browse Popular Code Answers by Language