function jsonp_decode($jsonp, $assoc = false) {
$json = preg_replace("/[^(]*\((.*)\)/", "$1", $jsonp);
return json_decode($json, $assoc);
}
jsonp_decode
未经允许不得转载:PHPez » jsonp_decode
相关推荐
- CentOS 8 BBR
- Install MongoDB Community Edition on Red Hat or CentOS
- Run MeiliSearch in production: taking it to the next level
- How To Count Files in Directory on Linux
- How to rename a local Git branch?
- Git create empty branch
- Git push existing repo to a new and different remote repo server?
- Get mv to also move hidden files in macOS