Which do you think is better for building web applications? PHP or Ruby?
Currently I use PHP but I want to set some time aside to learn Ruby. From what I have seen, Ruby is slightly slower than PHP but is cleaner and easier to work with.
The biggest problem with Rails is that it's really really slow.
That's the main turn-off for me.
PHP7 seems to have some massive speed boosts, and if the core team stops bickering for an hour or two then, they might even get the scalar type hints (strings, integers, etc.) in too.
I like PHP because it is A: A decent programming language, and B: universally supported. While Ruby has a more modern design and more syntactic sugar, it doesn't surpass PHP enough, in my opinion, to warrant abandoning the possibilities which PHP offers in terms of libraries, online resources, and the ability to install your app universally. I've probably written as much or more Java code than PHP, and would love to use it in a web enviornment, but J2EE (the java web adaption) isn't quite there yet, and also not as universal as PHP.