fix(php8): AllowDynamicProperties

pull/3774/head
Simpler1 2023-09-30 19:56:57 -04:00
parent bdc1660cc1
commit 2547376c27
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,12 @@ require_once('database.php');
$object_cache = array();
/**
* Use the fully-qualified AllowDynamicProperties, otherwise the #[AllowDynamicProperties] attribute on "MyClass" WILL NOT WORK.
*/
use \AllowDynamicProperties;
#[AllowDynamicProperties]
class ZM_Object {
protected $_last_error;