title: PHP 7 simpleXML
body: <p>I'm testing PHP7, and have a weird issue after a recent update. SimpleXML should be enabled by default, and my <code>phpinfo</code> page shows that it is available:</p>
  
  <p><a href="https://i.stack.imgur.com/F5qwX.png" rel="noreferrer"><img src="https://i.stack.imgur.com/F5qwX.png" alt="enter image description here"></a></p>
  
  <p>However, the functions are not available:</p>
  
  <pre><code>&lt;?php
  
  if (function_exists('simplexml_load_file')) {
      echo "simpleXML functions are available.&lt;br /&gt;\n";
  } else {
      echo "simpleXML functions are not available.&lt;br /&gt;\n";
  }
  
  // result-- NOT available
  </code></pre>
  
  <p>And the module isn't listed as loaded:</p>
  
  <pre><code>~ $ php -m
  [PHP Modules]
  calendar
  Core
  ctype
  curl
  ...
  Reflection
  session
  shmop
  sockets
  SPL
  standard
  sysvmsg
  sysvsem
  sysvshm
  tokenizer
  Zend OPcache
  zlib
  </code></pre>
  
  <p>Anyone know if there's a workaround for this?</p>
  
  <p>Version info:</p>
  
  <pre><code>~ $ php -v
  PHP 7.0.3-8+deb.sury.org~trusty+2 (cli) ( NTS )
  Copyright (c) 1997-2016 The PHP Group
  Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
      with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
  </code></pre>