此擴充方法需要 libxml PHP 擴充。這表示需要使用 --enable-libxml ,僅管這將自動完成因為 libxml 是預設開啟的。
The SimpleXML extension requires PHP 5.