I'm trying to call json_decode()
. I'm using a shared Hostgator server. I have already checked some other questions on StackOverflow regarding "json_decode"
After ssh-ing in, php -v
outputs the following:
PHP 7.4.16 (cli) (built: Mar 9 2021 17:55:07) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by ionCube Ltd.
and when I search the PHP modules using php -m
it does appear to have the line
json
in the output