fix php comparison operator