# PHP 8: before and after

DevFeed: [PHP 8: before and after](<https://devfeed.tech/articles/php-8-before-and-after-44198.md>)

Original publisher: [Read original article](<https://stitcher.io/blog/php-8-before-and-after>)

Author: Brent

Published: 2020-07-20T00:00:00Z

Content type: comparison

Language: en

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

Topics: [PHP](<https://devfeed.tech/topics/php.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [constructor](<https://devfeed.tech/topics/constructor.md>), [enum](<https://devfeed.tech/topics/enum.md>), [syntax](<https://devfeed.tech/topics/syntax.md>), [union types](<https://devfeed.tech/topics/union-types.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [enums](<https://devfeed.tech/tags/enums.md>), [php](<https://devfeed.tech/tags/php.md>), [programming](<https://devfeed.tech/tags/programming.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [type-system](<https://devfeed.tech/tags/type-system.md>)

## AI overview

A comparison of PHP 8 and PHP 7.4 features, focusing on their practical effects on everyday code. It covers attributes for event listener configuration, static return types, constructor property promotion, named arguments, enums, and the match expression.

## Source excerpt

Read the full post on https://stitcher.io/blog/php-8-before-and-after