I noticed you called json_decode with an @ symbol in front of it inside the makeCurlPost function in the PHP demo: https://github.com/xfrocks/bdApi/blob/master/php_demo/functions.php#L152 bdApi/php_demo/functions.php at master · xfrocks/bdApi [bd] Api add-on for XenForo. Contribute to xfrocks/bdApi development by creating an account on GitHub. github.com What is the purpose of the @ symbol?
It's PHP error control operator. See it here http://php.net/manual/en/language.operators.errorcontrol.php PHP: Hypertext Preprocessor PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world. php.net Basically the demo uses it to avoid output error / warning if the data is not a valid json.