Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有功能可以找出正在解码的重新编码数量
$doctors= json_decode(file_get_contents($url_containing_doctors_list),true);
所以我必须写一个forloop然后增加Count变量的计数器?
您可以使用来确定 $doctors 数组的长度count($docters)。json 函数不返回它已反序列化的记录数。
count($docters)