一句话知乎60秒读懂世界PHP源码

😂 这篇文章最后更新于982天前,您需要注意相关的内容是否还可用。

知乎地址:https://zhuanlan.zhihu.com/p/401984268

源码很简单,解析知乎接口数据输出即可:

<?php
echo json_decode(file_get_contents("https://www.zhihu.com/api/v4/columns/c_1261258401923026944/items"),true)['data'][0]['content'];