The Lingering Effect of Daylight Savings Time

I just spent the better part of the last 2 hours or so (plus a little time away to refresh my brain cells) trying to figure out why the following statement wasn’t behaving as expected:

$text = strlen ( $_POST['text'] > 0 ) ? $_POST['text'] : uniqid ( rand(), true );

Oy. Some nights just aren’t made for writing code.

Subscribe0 Comments on The Lingering Effect of Daylight...