diff options
author | Christian Schneider | 2022-11-27 16:51:36 +0100 |
---|---|---|
committer | Christian Schneider | 2022-11-27 16:51:36 +0100 |
commit | e6dd542db15c153aa1d1f825708f75de13ef24f4 (patch) | |
tree | f7a9d3301ad60235bf4b12676a9c15c2c2cab719 | |
parent | 4ad4800b1fd512aa43dc46b75fb6466e17485256 (diff) | |
download | itools-e6dd542db15c153aa1d1f825708f75de13ef24f4.tar.gz itools-e6dd542db15c153aa1d1f825708f75de13ef24f4.tar.bz2 itools-e6dd542db15c153aa1d1f825708f75de13ef24f4.zip |
Make itools ready for PHP 8.2: Creation of dynamic property deprecated
-rw-r--r-- | it_dbi.class | 1 | ||||
-rw-r--r-- | it_text.class | 1 | ||||
-rw-r--r-- | it_url.class | 1 | ||||
-rw-r--r-- | it_xml.class | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/it_dbi.class b/it_dbi.class index 6d798a6..4efe082 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -19,6 +19,7 @@ ** dbi.class - UltraFlexible Database Interface 3000 */ +#[AllowDynamicProperties] class it_dbi { static $_global_key = 'it_dbi'; # $GLOBAL key to use for singleton diff --git a/it_text.class b/it_text.class index 5e33395..61a6006 100644 --- a/it_text.class +++ b/it_text.class @@ -25,6 +25,7 @@ class it_text var $languages_available = array(); # Available languages var $statictext = array(); # Text array, read from php file on init var $label_to_service = array(); # which label belongs to which service - only used for debug parameter texts + var $allowedfuncs; var $p; # Constructor Parameters /** diff --git a/it_url.class b/it_url.class index b2dad3c..a2cbb5e 100644 --- a/it_url.class +++ b/it_url.class @@ -39,6 +39,7 @@ class it_url var $redir = 0; /* Redirect count */ var $header; /* http header */ var $errstr; /* request error string */ + var $curlinfo; static $retryable = "^(5..)$"; diff --git a/it_xml.class b/it_xml.class index 57f4555..62b4df5 100644 --- a/it_xml.class +++ b/it_xml.class @@ -19,6 +19,7 @@ ** it_xml.class - XML parser / object factory */ +#[AllowDynamicProperties] class it_xml { /* |