PHP: json_last_error - Manual
PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.