PHP was quite fairly maligned for a long time. The issue was never "weirdness" but rather poor design. Starting with final 5.x they started turning it around and deprecating or fixing a lot of the worst bits.
JavaScript was a joke but modern js is tight, clean and generally very fast.
To me all weirdness IS poor design.
> JavaScript was a joke but modern js is tight, clean and generally very fast.
Fast it sure is, for an interpreted language.
On "clean and tight" I beg to differ. I find it an unholy mess: the language, the stdlib and the ecosystem.
Weirdness is subjective. If you look at lisp for the first time coming from other languages it will be weird.
PHP had glaring issues for years, but they started to clean up the language around 7.x.
JavaScript was effectively a toy but grew up in a hurry when Node pushed ecmascript forward and into a well paced release pattern.
Counter examples:
https://www.reddit.com/r/lolphp/ (this language is soooo weird there is a community documenting its weirdness)
https://www.destroyallsoftware.com/talks/wat (lovely talk about JS's weirdness)
I dont like the fundamental weirdness of these langs. I like predicatble langs. Unpredictable langs will never be "completely ok languages" to me.