[php-src] Issue #9928: Error: Access to undeclared static property Kint\Kint::$depth_limit
| From: | KrlsRomero | Date: | Fri, 11 Nov 2022 03:27:19 +0000 |
| Subject: | [php-src] Issue #9928: Error: Access to undeclared static property Kint\Kint::$depth_limit | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242789@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9928
Author: KrlsRomero
### Description
The following code:
```php require_once SYSTEMPATH . 'ThirdParty/Kint/init.php';
250 }
251
252 /** @var \Config\Kint $config */
253 $config = config(KintConfig::class);
254
255 Kint::$depth_limit = $config->maxDepth;
256 Kint::$display_called_from = $config->displayCalledFrom;
257 Kint::$expanded = $config->expanded;
258
259 if (! empty($config->plugins) && is_array($config->plugins)) {
260 Kint::$plugins = $config->plugins;
261 }
262 ?>
### PHP Version
PHP 8.2 OCR6
### Operating System
Windows 11 64 Bits