Interpret a human-readable string as a boolean in PHP