PHP 8.1 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29) +--- Thread: PHP 8.1 (/showthread.php?tid=80413) Pages:
1
2
|
RE: PHP 8.1 - etShops - 11-30-2021 After update ci to 4.15 and update php 8.1 i has some error I must change one function ``` system/Database/BaseConnection.php /** * Returns the number of seconds with microseconds that it took * to connect to the database. * * Used by the Debug Toolbar's timeline. */ public function getConnectDuration(int $decimals = 6): string { return number_format(intval($this->connectDuration), $decimals); } ``` RE: PHP 8.1 - kenjis - 11-30-2021 v4.1.5 does not support PHP 8.1. |