xmlrpc.inc: removed dl("xml.so")
authorSamu Voutilainen <smar@smar.fi>
Wed, 21 May 2014 10:53:04 +0000 (13:53 +0300)
committerSamu Voutilainen <smar@smar.fi>
Wed, 21 May 2014 10:53:04 +0000 (13:53 +0300)
This function has been deprecated and removed from php-5.3 and upwards,
and was only useful for PHP 4, which is not supported anymore.

ChangeLog
lib/xmlrpc.inc

index 2c6dda7..1ac38ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
-2014-02-3 - G. Giunta (giunta.gaetano@gmail.com)\r
+2014-05-12 - Samu Voutilainen (smar@smar.fi)\r
+\r
+       * removed obsolete xml.so open; dl() is deprecated and removed from 5.3.0\r
+\r
+2014-02-03 - G. Giunta (giunta.gaetano@gmail.com)\r
 \r
        * bumped up requirements to php 5.1.0\r
 \r
index aeaf4be..d87f6eb 100644 (file)
 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\r
 // OF THE POSSIBILITY OF SUCH DAMAGE.\r
 \r
-       if(!function_exists('xml_parser_create'))\r
-       {\r
-               // For PHP 4 onward, XML functionality is always compiled-in on windows:\r
-               // no more need to dl-open it. It might have been compiled out on *nix...\r
-               if(strtoupper(substr(PHP_OS, 0, 3) != 'WIN'))\r
-               {\r
-                       dl('xml.so');\r
-               }\r
-       }\r
-\r
        // G. Giunta 2005/01/29: declare global these variables,\r
        // so that xmlrpc.inc will work even if included from within a function\r
        // Milosch: 2005/08/07 - explicitly request these via $GLOBALS where used.\r