I can't tell if PHP is being fickle, or I'm being lazy