How do you execute a PHP method in a class from the command line?
php -r 'include "MyClass.php"; MyClass::foo();'
Stack Overflow community is awesome!
All posts across the whole website belong to this category. They might also belong to some other categories as well, but this one holds all of them. Hence the descriptive name – All.
How do you execute a PHP method in a class from the command line?
php -r 'include "MyClass.php"; MyClass::foo();'
Stack Overflow community is awesome!
UFC is such a great sport that I don’t really believe that this was done on purpose, but two fights in the same event sharing this makes it statistically interesting.
P.S.: That wasn’t spotted by me initially. Saw it on Facebook first.
Since Google announced their Google Glass project, I kept thinking which of their products would be the most useful on that platform. Gmail? Probably not too much. Search? Perhaps. Ads? Don’t think so.
Today, after reading this blog post I realized that I was thinking about it all wrong. It’s not what Google will push into the glasses, but what the rest of the world would come up with. Google Glass is Android-based. And we’ve seen already how powerful the platform is, and how many people come with so many cool ideas.
And, all of a sudden, I can’t wait for this whole new thing to pick up…