鍍金池/ 問答/PHP/ Object of class Carbon\Carbon could not

Object of class Carbon\Carbon could not be converted to int

在計算數(shù)值是報這個錯誤,是什么原因?
Object of class CarbonCarbon could not be converted to int

回答
編輯回答
替身

emmm,對象轉(zhuǎn)int嗎?

2018年9月17日 01:45
編輯回答
玄鳥

報錯報的還不明顯么? 你想把對象轉(zhuǎn)成 int 型?

2017年3月14日 05:36