php str_replace不生效

2025-04-14 23:38:36
推荐回答(1个)
回答1:

这是因为php的弱变量类型引起的,强行指定string即可,类似的php bug还有int类型数字与string类型数字之间的计算