What are the rules for determining the "truth" of any value that is not yet Boolean?

TechnicalSenior php developerPHP DeveloperJunior PHP DeveloperMid PHP Developer