HackerRank: Compare the Triplets

I'm not a big fan of putting everything in the main function, and I've noticed a lot of solutions floating around the Internet throw the print statements in the main function. I guess for the purpose of a simple exercise it should be fine but here's how I did it.

Updating to PHP7 from PHP5

Really really quick how-to update from PHP7 from PHP5 using homebrew. A little side note: homebrew is a package manager for MacOS. If you don't have it, downloading it will be the best thing you ever do for your developer career: do it now. And voilà: Update: For Windows, try this: http://tektriks.com/how-to-upgrade-php-5-6-to-php-7-in-xampp-on-windows/ Troubleshoot So there's … Continue reading Updating to PHP7 from PHP5