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.
我是否为转换字符串编写了正确的函数???请记住,我使用了“get 方法”。
function toInt($str) { return (int)$str; }
我之前在谷歌上试过找到我的答案。请像为小学生解释一样。谢谢你。