============================================================================== What's the effect of installing v 8.3 ------------------------------------------------------------------------------ After installing v8.3., the most prominent error message is ---------------------------------------------------------- Creation of dynamic property (property name) is deprecated ---------------------------------------------------------- This error was introduced in PHP 8.2. In PHP 8.2 and later, setting a value to an undeclared class property is deprecated, and emits a deprecation notice the first time the property is set during the lifetime of the application execution. ============================================================================== ============================================================================== How the error appear in the local website of phpkobo.com ------------------------------------------------------------------------------ Most sample PHP applications have `error_reporting( 0 )` in a configiration file, so "Creation of dynamic property (property name) is deprecated" will be suppressed. The error tend to appear outside the sample PHP applications. You can see the error message logged in the following file: ■ phpkobo/website/public_html/mod/site/eh_main/log ============================================================================== ============================================================================== How to fix/suppress the error message ------------------------------------------------------------------------------ The most straight forward way is to declear all properties used in the class. But sometimes, it's very cumbersome for legacy code. An alternative methoid is to allow dynamic properties using #[\AllowDynamicProperties]. For example, ------------------------------------------------------------------------------ #[\AllowDynamicProperties] class CObject { .............. .............. .............. .............. } ------------------------------------------------------------------------------ A great thing about #[\AllowDynamicProperties] is if you put it on an class, it applys to the extended classes. ==============================================================================