DEV Community

saiarlen
saiarlen

Posted on

1

PHP 8 New Features

-> Arrays starting with a negative index
-> TypeError on invalid arithmetic/bitwise operators
-> Reclassification of various engine errors
-> Consistent type errors for internal functions
-> Fatal error for incompatible method signatures
-> Locale independent float to string conversion
-> Variable Syntax Tweaks
-> Named Arguments
-> Nullsafe operator
-> Non-capturing catches
-> throw expression

official Doc

Top comments (0)

Image of Checkly

Replace beforeEach/afterEach with Automatic Fixtures in Playwright

  • Avoid repetitive setup/teardown in spec file
  • Use Playwright automatic fixtures for true global hooks
  • Monitor JS exceptions with a custom exceptionLogger fixture
  • Keep your test code clean, DRY, and production-grade

Watch video

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay