Answers for "how to load json variable in php"

PHP
7

php decode json file

$json = json_decode(file_get_contents('/path/to/your/file.json'));
Posted by: Guest on March-15-2020
0

parse json phph

echo json_decode("[1,2,3]")[0];
Posted by: Guest on January-15-2020

Browse Popular Code Answers by Language