This won't work in PHP <5.3.9 (warnings in 5.3.7/8, always false in less than that)