How can I get the first number of json data obtained by curl?

I use curl to ask my counterparty for json data.
the data given to me by the opposite party is 20 years old
how can I get the first number of the opposite party?
do I want to set it up this time, or do I want to do it on the right side?

Mar.03,2021

$list = json_decode($json, true);
return !empty($list) ? array_shift($list) : [];

you need to get the result data before processing it yourself

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3f5bf-44819.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3f5bf-44819.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?