3 ms·
That's the first time I think I've heard that. I've heard many times that PHP is much better than it used to be, but in what ways is it more powerful than Ruby?
by wtetzner 10y ago
That's the first time I think I've heard that. I've heard many times that PHP is much better than it used to be, but in what ways is it more powerful than Ruby?
- fiddlerwoaroof 10y agoOne nice feature is that it is optionally typed (php 5.6 had this for classes and arrays php 7 added support for specifying primitive types.) Also, the newer parts of the language such as the object system and the presence of closures and first class functions are almost pleasant to work with: for the most part, the annoyances come from the old stuff