---
title: "PHP updates DOM API"
url: https://daily.dev/posts/php-updates-dom-api-dxyupcwlc
source_url: https://www.infoworld.com/article/3612206/php-updates-dom-api.html
type: article
source: "InfoWorld"
published: 2024-11-25T21:29:33.932Z
updated: 2024-12-08T21:04:21.271Z
tags: ["webdev", "open-source", "php"]
reading_time: 2
upvotes: 27
comments: 2
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# PHP updates DOM API

**[InfoWorld](https://daily.dev/sources/infoworld)** · 2 min read · 27 upvotes · 2 comments

## Summary

PHP 8.4.1 introduces an updated DOM API with standards-compliant support for parsing HTML5 documents, improved performance, better syntax, and enhanced type safety. New features include the `BcMath\Number` object for arbitrary precision number operations, controls for property scope access, and support for lazy objects.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.infoworld.com/article/3612206/php-updates-dom-api.html>

## Community discussion

Top comments from developers on daily.dev.

**@sam7work** · 0 upvotes

> looking forward to more examples and benchmarks, php 8.4 certainly is making the news :-)

**@terceroainuler** · 0 upvotes

> finally it can parse html 5

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#open-source](https://daily.dev/tags/open-source), [#php](https://daily.dev/tags/php)

[View this post on daily.dev](https://daily.dev/posts/php-updates-dom-api-dxyupcwlc)
