Part of a framework's responsibility is to abstract away some of the retarded behaviours that PHP has graced us with, surely? I mean they call it a pitfall for a reason...