diff options
author | Christian Schneider | 2025-08-13 13:54:43 +0200 |
---|---|---|
committer | Christian Schneider | 2025-08-13 13:54:43 +0200 |
commit | b3e5013602b5d8e25952115952fae11dd16f2f31 (patch) | |
tree | a48d366fd52043b5c23aea1ec984ee875659a3ae | |
parent | e768db398fd6f8dee21e21f8616ff2c99cd815ba (diff) | |
download | itools-b3e5013602b5d8e25952115952fae11dd16f2f31.tar.gz itools-b3e5013602b5d8e25952115952fae11dd16f2f31.tar.bz2 itools-b3e5013602b5d8e25952115952fae11dd16f2f31.zip |
Remove obsolete (and starting from PHP 8.5 deprecated) curl_close/xml_parser_free which has been handled by object GC since 8.0
-rw-r--r-- | it_url.class | 1 | ||||
-rw-r--r-- | it_xml.class | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/it_url.class b/it_url.class index 8255960..40f22f9 100644 --- a/it_url.class +++ b/it_url.class @@ -435,7 +435,6 @@ static function get_multi($p=null) }; $closehandle = function ($key) use (&$keys, &$handles, $mh) { curl_multi_remove_handle($mh, $handles[$key]); - curl_close($handles[$key]); unset($keys[(int)$handles[$key]]); unset($handles[$key]); }; diff --git a/it_xml.class b/it_xml.class index f74f743..d58f020 100644 --- a/it_xml.class +++ b/it_xml.class @@ -103,7 +103,6 @@ function from_xml($xmldata, $p) } unset($this->_arrayforce, $this->_p['safety'], $this->_p['it_error'], $this->_p['factory'], $this->_stack); - xml_parser_free($parser); return empty($this->error); } |