Very nice! It's interesting that some of the new features released in PHP 7.4 and 8 have direct parallels in JS. Here are a few examples: arrow functions, spread operator in arrays, weak maps, str_starts_with(), str_ends_with().
Probably a direct result of cross pollination between the communities. Since PHP was historically embedded into HTML you would get a lot of front end technology exposure.