Skip to content

Learning PHP8 #1

@sohag47

Description

@sohag47

PHP 8.0 Features

  • Just-In-Time Compilation (JIT)
  • Union Types
  • Named Arguments
  • Attributes
  • Constructor Property Promotion
  • Match Expression
  • Nullsafe Operator (?->)
  • Weak Maps
  • Throw Expressions
  • Trailing Commas in Parameter Lists
  • Improved Type System & Error Handling
  • New String Functions (str_contains, str_starts_with, str_ends_with)
  • New fdiv() Function
  • Saner String to Number Comparisons
  • Consistent Type Errors for Internal Functions

Metadata

Metadata

Assignees

No one assigned

    Labels

    NewNew features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions