目前開發用的yii2基於php7.1.33構建,鑑於7.1已經停止維護,計劃更新php版本到7.4,並且將yii2的版本從2.0.15.1升級到最新的2.0.43。
此文記錄一下修改步驟
object修改
錯誤提示:
PHP Compile Error
Cannot use yii\base\Object as Object because 'Object' is a special cla
PhpSpreadsheet提供了豐富的API接口,可以設置諸多單元格以及文檔屬性,包括樣式、圖片、日期、函數等等諸多應用,總之你想要什麼樣的Excel表格,PhpSpreadsheet都能做到。
在調試設置時,確保引入了正確的文件並實例化。
use PhpOfficePhpSpreadsheetSpreadsheet;
$spreadsheet = new Spreadsheet();
$wo
想當然的進來就是一行
$sudo pecl install xdebug
pecl/xdebug requires PHP (version = 7.2.0, version = 8.0.99), installed version is 7.1.33
No valid packages found
install failed
查閲了一下xdebug的下載頁,默認安裝的xdebug3已經不支持p