summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2022-11-27 16:51:36 +0100
committerChristian Schneider2022-11-27 16:51:36 +0100
commite6dd542db15c153aa1d1f825708f75de13ef24f4 (patch)
treef7a9d3301ad60235bf4b12676a9c15c2c2cab719
parent4ad4800b1fd512aa43dc46b75fb6466e17485256 (diff)
downloaditools-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.class1
-rw-r--r--it_text.class1
-rw-r--r--it_url.class1
-rw-r--r--it_xml.class1
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
{
/*