---
title: "Discussion on \"PHP is freaking turning into JS\" | Hashnode"
description: "Discussion on \"PHP is freaking turning into JS\". Yeahh boi it is true.\nLet's check out some of the new features (PHP8.0+)\nRecommendation: upgrade to PHP8.1, latest always better 😉\nSpread\n$fromAnIndexArray = [1,2,3,4];\n$fromAnAssocArray = [\n    'seth' => 'phat',\n];\n\n$array = [\n    ...$fromAnIndexAr..."
url: "https://hashnode.com/posts/php-is-freaking-turning-into-js/639c32bf57e26d0612ac6226"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [PHP is freaking turning into JS](https://sethphat.dev/php-is-freaking-turning-into-js?utm_source=hashnode&utm_medium=feed)

Yeahh boi it is true. Let's check out some of the new features (PHP8.0+) Recommendation: upgrade to PHP8.1, latest always better 😉 Spread $fromAnIndexArray = \[1,2,3,4\]; $fromAnAssocArray = \[ 'seth' => 'phat', \]; $array = \[ ...$fromAnIndexAr...

Dec 16, 2022 · 3 min read · sethphat.dev  
Updated Dec 20, 2022  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#laravel](https://hashnode.com/tag/laravel)
-   [#coding](https://hashnode.com/tag/coding)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Seth Chen](https://hashnode.com/@sethphat)

@sethphat · Desire Grand Prix

  
[View profile](https://hashnode.com/@sethphat)

Seth Phat Geek Blog

develops awesome software, contributes to OSS, writes tech tips, and loves Vietnamese milk coffee!

## Responses 1

Markdown supported · ⌘↵ to post

[Kevin Pliester](https://hashnode.com/@pixelbart)

[Dec 19, 2022](https://hashnode.com/posts/php-is-freaking-turning-into-js/639c32bf57e26d0612ac6226/comment/63a086ebaafcb79c00aa9959)

That's a pretty good summary of some of the new capabilities in PHP 8. Cool post!
