Browse code

php 8.2 fix for dynamic-properties-deprecated

Jimmi08 authored on 2023/04/08 09:44:48
Showing 1 changed files
... ...
@@ -38,6 +38,8 @@ define("T_BYFILE", 0);
38 38
 define("T_BYVAR", 1);
39 39
 define("TP_ROOTBLOCK", '_ROOT');
40 40
 
41
+
42
+#[AllowDynamicProperties]
41 43
 class TemplatePowerParser
42 44
 {
43 45
   protected $tpl_base;              //Array( [filename/varcontent], [T_BYFILE/T_BYVAR] )