4 पॉइंट द्वारा xguru 2021-04-17 | 1 टिप्पणियां | WhatsApp पर शेयर करें
  • PHP 8 रिलीज़ हो चुका है और इसकी performance में लगातार सुधार हो रहा है

→ JIT भी जोड़ा गया है

  • इस साल के अंत तक 8.1 रिलीज़ होने की उम्मीद है

→ enum जोड़ा जाएगा

→ Async PHP के लिए Fibers (Coroutine, green thread) जोड़े जाएंगे

never type जोड़ा जाएगा: exit आदि के कारण program flow समाप्त करने वाले functions को स्पष्ट रूप से दिखाता है। यह static analysis tools के लिए मददगार होगा

→ PhpStorm ने Psalm / PhpStan जैसे static analysis tools जोड़े हैं

  • 2020/10 में Composer 2.0 रिलीज़ हुआ: UX और performance में बहुत बड़ा सुधार

  • हाल में PHP language में जो चीज़ें पहले ही जुड़ चुकी हैं या जुड़ने वाली हैं

→ Enums

→ Fibers

→ Attributes

→ Named Arguments

→ Match

→ Constructor Property Promotion

→ Short closures

→ Null coalescing operator

→ Traits

→ Typed properties

→ Spread operator

→ The JIT

→ FFI

→ Return type declarations

→ Generators

1 टिप्पणियां

 
xguru 2021-04-17

ये दोस्त हर साल एक बार यह लेख लिखता है। 2019 में इसे GeekNews पर पोस्ट किया था, और 2020 वाला शायद छूट गया था, हा हा