I've been working with #WordPress for about a year now and the thing that has surprised me the most is that I actually like #PHP. I didn't know much about it, but had seen a lot of bashing it over the years. It's been dead-easy to learn though, and has a surprising number of modern features, like typing, named function parameters, match expressions, etc.
I wish I could say the same for #WordPress, which feels like it's barely holding itself together.