PHP is legitimately pretty great. it’s been my goto language for quick scripts and command line stuff for years. Like any language it can look good or bad. Helped that I came from Perl though
In the PHP project I worked on I did inteoduce PHPStan (static code analysis tool) with an integration into the IDE and brought it up to level 8 (out of 10, the higher the level the stricter the checks). I still prefer other languages, and there were still a few quirks, but it was fine working with it like that, since it ensured that type hints where present basically everywhere and also that variables where used according to the types.
View all comments
Show parent comment
33
u/WorldlyMacaron65 Jun 11 '26
PHP really is an underdog story. From an unreadable, buggy mess of a language to maybe the most pleasant progressively-typed scripting language around