Marco.org

I’m : a programmer, writer, podcaster, geek, and coffee enthusiast.

Argh, PHP

I love dynamic typing, but…

$a = "look I'm just a string";
$b = 0;
if ($a == $b) { return "come on, really?"; }

This has caused two separate bugs of mine this afternoon, both of which took way too long to find.