|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #79021 SimpleXML not installed on 7.3 by default
Submitted: 2019-12-23 11:41 UTC Modified: 2019-12-23 13:01 UTC
From: php4fan at gmail dot com Assigned: cmb (profile)
Status: Not a bug Package: Documentation problem
PHP Version: 7.3.13 OS: debian 10
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: php4fan at gmail dot com
New email:
PHP Version: OS:


 [2019-12-23 11:41 UTC] php4fan at gmail dot com
From manual page:

> This extension is enabled by default.

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:

new SimpleXMLElement('<kjsdc/>');

Expected result:
empty output

Actual result:
Fatal error: Class 'SimpleXMLElement' not found in .....


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-12-23 13:01 UTC]
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2019-12-23 13:01 UTC]
SimpleXML is enabled by default for the source distribution of  We cannot document distribution specifics.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 18 07:03:35 2021 UTC