Doc #79021 [Opn->Nab]: SimpleXML not installed on 7.3 by default

From: Date: Mon, 23 Dec 2019 13:01:14 +0000
Subject: Doc #79021 [Opn->Nab]: SimpleXML not installed on 7.3 by default
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17167@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79021&edit=1 ID: 79021 Updated by: cmb@php.net Reported by: php4fan at gmail dot com Summary: SimpleXML not installed on 7.3 by default -Status: Open +Status: Not a bug Type: Documentation Problem Package: Documentation problem Operating System: debian 10 PHP Version: 7.3.13 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: SimpleXML is enabled by default for the source distribution of php.net. We cannot document distribution specifics. Previous Comments: ------------------------------------------------------------------------ [2019-12-23 11:41:44] php4fan at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=79021&edit=1

« previous php.doc.bugs (#17167) next »