Sleight of Date

3 01 2015

Flickr: by Paolo Margari

Someone posted an interesting JavaScript question recently at StackOverflow, concerning how one may  convert a date string into Unix time without the timezone effecting the result. In reflecting on that question, I also discovered a “trick” by which one can fool a local date object to a degree.

Read the rest of this entry »





Illuminating a Dark Alley

15 10 2014

Flickr: by I.Gouss

 

“PHP has its share of dark alleys that you really don’t want to find yourself inside.   Object properties with names that are numbers is one of them…”

Jon,  StackOverflow

 

Object properties with integers for names are illegal in PHP.  Yet, Read the rest of this entry »





Tasty In-Out Data

11 03 2011

Pieces of fruit in a basket

Image via Wikipedia

I had occasion today to revisit the subject of stacks and queues. These are both Read the rest of this entry »





PHP and Downcasting?

16 04 2010

Recently, a recruiter arranged for a perspective employer to call and conduct a 20 minute technical interview with me for a PHP Developer position. During the course of the technical questions directed my way, one in particular truly stunned me. The interviewer asked, “What does it mean to downcast an object?” Read the rest of this entry »








%d bloggers like this: