Ruby and PHP are same working ?
Overall I would say that PHP is a more stable and mature environment than Ruby is. There are more available libraries, and they have had time to stabilise. It's also a lot easier to configure and deploy, because there are generally working packages for your platform, and because you don't have to make a lot of choices upfront. As a language, both are similar in that they are easy to start using, but hard to master completely. PHP is a bit more traditional, which may make it easier if you already know Java/C/etc. On the other hand, PHP is internally much more inconsistent than Ruby. I think it is safe to say that Ruby is aesthetically better off than PHP; It's in many ways a very elegant language. You can't really say that about PHP. On the other hand, PHP is much more by face-value. In Ruby you can - and people often do - write some truly incomprehensible code. Source: http://stackoverflow.com/questions/901314/what-are-the-major-differences-between-php-and-ruby
Join our real-time social learning platform and learn together with your friends!