4 Punkte von xguru 2022-03-29 | 1 Kommentare | Auf WhatsApp teilen

Bemerkenswerte Funktionen, die seit PHP 7 neu hinzugekommen sind

  • Array-Destrukturierung (v7.1)
  • Spread-Operator innerhalb von Arrays (v7.4) & (v8.1)
  • Match-Ausdrücke (v8.0)
  • Enumerationen (enums) (v8.1)
  • Arrow Functions (v7.4)
  • Benannte Parameter (v8.0)
  • Null-Coalescing-Operator (v7.0)
  • Null-Coalescing-Zuweisungsoperator (v7.4)
  • Null-safe-Operator (v8.0)
  • Spaceship-Operator (v7.0)
  • Exception-Handling mit Multi-Catch (v7.1)
  • str_starts_with, str_ends_with, str_contains (v8.0)
  • Rückgabetypen (v7.0)
  • Union Types (v8.0)
  • Null- und Void-Rückgabetypen (v7.1)
  • Never-Rückgabetyp (v8.1)
  • Gruppierte Imports (v7.0)
  • Constructor Property Promotion (v8.0)
  • WeakMaps (v8.0)