2021 में PHP
(stitcher.io)- 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 टिप्पणियां
ये दोस्त हर साल एक बार यह लेख लिखता है। 2019 में इसे GeekNews पर पोस्ट किया था, और 2020 वाला शायद छूट गया था, हा हा
PHP in 2019 https://hi.news.hada.io/topic?id=92
PHP in 2020 https://stitcher.io/blog/php-in-2020