There is a but though, don't make PHP your last language, broaden your horizon.
There is a but though, don't make PHP your last language, broaden your horizon.
Then I discovered Go which is like a grown-up version of PHP. Really simple to get started, solid standard library (PHP relies a lot on extensions), and fixes all the little things like formatting/styling, testing, error handling, benchmarking, modules, and parallel code execution.
It does all this in much less memory and is much faster.
Go is an excellent replacement for PHP when you start hitting the limits of little Laravel apps.
I mean, Go is still miles above scripting land. 75% of all the cloud computing projects are in Go and if you deal with micro services you'll find a lot of the tooling and systems are written in Go.
If you're using PHP, then Go or Java is much easier upgrade path than Rust.
I mean all this push for "Rust in the kernel" is nice and all, but do we really need fancy things like "transitive equality"? They have played us for absolute fools.
Sometimes you just want a language that really puts in the work to find a reason why "0x10" == "16z" should be true, no matter what kind of improbable implicit casts have to be done to get there.
PHP makes the impossible possible, and you've got to keep life interesting or it would be too predictable!
$ php -r 'var_dump("0x10" == "16z");'
bool(false)
$ php -r 'var_dump(0x10 == "16z");'
bool(false)
$ php -r 'var_dump(0x10 == (int)"16z");'
bool(true)