PHP Cannot use assign-op operators with string offsets | Illegal string offset

描述PHP Cannot use assign-op operators with string offsets | Illegal string offset PHP5.4中一個須要注意的變化(Chained string offsets) , 這個坑容易被踩到; 描述:當對於一個變量 n a m e , 如 果 name, 若是 name,如果name是一個字符串, 那麼, 對於非數字型索引,
相關文章
相關標籤/搜索