Browse code

php 8.2 fix

Jimako authored on 2023/06/12 12:15:58
Showing 1 changed files
... ...
@@ -38,6 +38,11 @@ define("T_BYFILE", 0);
38 38
 define("T_BYVAR", 1);
39 39
 define("TP_ROOTBLOCK", '_ROOT');
40 40
 
41
+
42
+//https://php.watch/versions/8.2/dynamic-properties-deprecated
43
+
44
+
45
+#[AllowDynamicProperties]
41 46
 class TemplatePowerParser
42 47
 {
43 48
   protected $tpl_base;              //Array( [filename/varcontent], [T_BYFILE/T_BYVAR] )