Comment

Comment by xd

"It’s a pity some people still build important apps in PHP..."

Getting real tired of seeing these baseless statements from so called software professionals.

Here is an off-the-top-of-my-head list of features of modern day PHP:

* yield

* event

* pthreads - yeap, real threads.

* closures (including support for $this)

* consistent hashing api

* "finally" added to try-catch

* empty() now supports expressions, rather than only variables.

* array and string literal dereferencing

* foreach support for list() - foreach($array as list($var, $var))

* array_column

* traits

* short array syntax

* namespaces

* json manipulation is second to none.

* runkit - all kinds of danger here

parent xd 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton