What are the new features in PHP 8?

monjur

Member
Joined
Nov 5, 2020
Messages
54
Points
8
Hi everyone,
Can you tell me what are the new features in PHP-8?
 

rudolphdaniel

New member
Joined
Dec 29, 2020
Messages
16
Points
1
Here are few
  • Constructor Property Promotion.
  • Validation for Abstract Trait Methods.
  • Incompatible Method Signatures.
  • Arrays Starting With a Negative Index.
  • Union Types 2.0.
  • Consistent Type Errors for Internal Functions.
  • throw Expression.
  • Weak Maps.
 

Marc van Leeuwen

Premium Member
Joined
May 29, 2016
Messages
1,132
Points
63
I am using PHP 7 and not going to moving to PHP 8, maybe I will update to this version soon. :)
 
Older threads
Replies
4
Views
4,715
Replies
5
Views
1,874
Replies
14
Views
6,619
Newer threads
Replies
8
Views
6,116
Replies
3
Views
4,222
Replies
8
Views
1,638
Replies
7
Views
1,915
Latest threads
Replies
1
Views
32
Replies
0
Views
40
Replies
0
Views
39
Replies
1
Views
51
Replies
3
Views
114
Recommended threads
Replies
1
Views
1,690
Replies
4
Views
2,843
Replies
5
Views
8,159

Latest postsNew threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top