title: Uncaught Error: Class 'SimpleXMLElement' not found
body: <p>SimpleXMLElement doesn't work!</p>
  <p>Check php -v:</p>
  <pre><code>PHP 7.4.8 (cli) (built: Jul 13 2020 16:45:28) ( NTS )
  Copyright (c) The PHP Group
  Zend Engine v3.4.0, Copyright (c) Zend Technologies
  with Zend OPcache v7.4.8, Copyright (c), by Zend Technologies
  </code></pre>
  <p>php -m:</p>
  <pre><code>php -m
  [PHP Modules]
  ...
  SimpleXML
  ..
  xml
  xmlreader
  xmlwriter
  xsl
  ...
  </code></pre>
  <p>I used PHP 7.2, install php-xml, php-simplexml and etc.</p>
  <p>log:</p>
  <pre><code>PHP Fatal error:  Uncaught Error: Class 'SimpleXMLElement' not found in /var/www/html/inc/functions.php:828
  </code></pre>
  <p>php:</p>
  <pre><code> $myCurl = curl_init();
    curl_setopt_array($myCurl, array(
      CURLOPT_URL =&gt; $url,
      CURLOPT_RETURNTRANSFER =&gt; true,
      CURLOPT_POST =&gt; true,
      CURLOPT_POSTFIELDS =&gt; http_build_query(array($body))
    ));
    $response = curl_exec($myCurl);
    curl_close($myCurl);
    
  $robo_response = new SimpleXMLElement($response);
  </code></pre>