# New without parentheses in PHP 8.4

DevFeed: [New without parentheses in PHP 8.4](<https://devfeed.tech/articles/new-without-parentheses-in-php-8-4-44180.md>)

Original publisher: [Read original article](<https://stitcher.io/blog/new-with-parentheses-php-84>)

Author: Brent

Published: 2024-07-11T00:00:00Z

Content type: tutorial

Language: en

Sources: [Stitcher](<https://devfeed.tech/sources/stitcher-io.md>)

Topics: [PHP](<https://devfeed.tech/topics/php.md>), [syntax](<https://devfeed.tech/topics/syntax.md>), [constructor](<https://devfeed.tech/topics/constructor.md>), [Parser](<https://devfeed.tech/topics/parser.md>), [properties](<https://devfeed.tech/topics/properties.md>), [class](<https://devfeed.tech/topics/class.md>)

Tags: [class](<https://devfeed.tech/tags/class.md>), [coding](<https://devfeed.tech/tags/coding.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [development](<https://devfeed.tech/tags/development.md>), [php](<https://devfeed.tech/tags/php.md>), [properties](<https://devfeed.tech/tags/properties.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

## AI overview

This article explains a PHP 8.4 syntax change that removes the need for parentheses around newly created objects when chaining methods and accessing methods, properties, static members, arrays, or callable objects. It also covers dynamic and anonymous classes, constructor-parentheses requirements, and parser ambiguity.

## Source excerpt

Read the full post on https://stitcher.io/blog/new-with-parentheses-php-84