Welcome Guest, Not a member yet? Register   Sign In
PHP 8.1
#11

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);
}
```
Reply


Messages In This Thread
PHP 8.1 - by etShops - 10-28-2021, 11:13 AM
RE: PHP 8.1 - by captain-sensible - 10-30-2021, 02:51 AM
RE: PHP 8.1 - by kenjis - 10-30-2021, 03:04 AM
RE: PHP 8.1 - by includebeer - 10-30-2021, 05:39 AM
RE: PHP 8.1 - by ikesela - 10-30-2021, 06:51 AM
RE: PHP 8.1 - by kenjis - 10-31-2021, 11:06 PM
RE: PHP 8.1 - by kenjis - 11-25-2021, 04:08 PM
RE: PHP 8.1 - by includebeer - 11-25-2021, 05:29 PM
RE: PHP 8.1 - by etShops - 11-25-2021, 11:10 PM
RE: PHP 8.1 - by miyaw21 - 11-26-2021, 01:51 AM
RE: PHP 8.1 - by etShops - 11-30-2021, 09:51 AM
RE: PHP 8.1 - by kenjis - 11-30-2021, 08:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB