Why PHP DateTime Rocks

Posted 2012-08-01
Category PHP
Working as a freelancer and contracter sometimes I come accross some code that is so terrible I have to laugh, then immediately tweet a screenshot for others to laugh. I think this is fairly healthy, but one reaction I get fairly often is "Yuck, PHP!". Really that should be "Yuck, PHP 4!" I've been using PHP since 4.0.1 and I remember it well. It was terrible. Whenever I see these chunks of code I like to see how clean I can make them with PHP 5.3 + code and DateTime has saved me a lot of lines.

Read More »

PHP: Ecosystem Update

Posted 2012-07-10
Category PHP
Don't worry guys, this isn't another PHP apologist or PHP hater blog. We've all had enough of those recently. This is a quick heads up on two projects that are doing what they can to make the PHP ecosystem a better place.

Read More »