Doc #79021 [NEW]: SimpleXML not installed on 7.3 by default
| From: | php4fan at gmail dot com | Date: | Mon, 23 Dec 2019 11:41:44 +0000 |
| Subject: | Doc #79021 [NEW]: SimpleXML not installed on 7.3 by default | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-17166@lists.php.net to get a copy of this message | ||
From: php4fan at gmail dot com
Operating system: debian 10
PHP version: 7.3.13
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:SimpleXML not installed on 7.3 by default
Description:
------------
---
From manual page: https://php.net/simplexml.installation
---
> This extension is enabled by default.
That is BULLSHIT.
On php 7.3, it is not enabled by default.
On debian, you need to install php-xml with "apt install php-xml".
Test script:
---------------
<?php
new SimpleXMLElement('<kjsdc/>');
Expected result:
----------------
empty output
Actual result:
--------------
Fatal error: Class 'SimpleXMLElement' not found in .....
--
Edit bug report at https://bugs.php.net/bug.php?id=79021&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79021&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79021&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79021&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79021&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79021&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79021&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79021&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79021&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79021&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79021&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79021&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79021&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79021&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79021&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79021&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79021&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79021&r=mysqlcfg