如何用PHP获取字符串的一部分

2025年03月24日 02:51
有2个网友回答
网友(1):

可以使用PHP的字符串函数substr()

网友(2):

$d= explode(" ", $time1)[1];