ovi.ro

ovi.ro

Tag: precedence

Operator Precedence

Like in math: 3 + 4 * 5 = 23 and not 35, in PHP you have an order for interpreting the code. AssociativityOperatorsAdditional Informationnon-associativeclone newclone and newleft[array()right++ — ~ (int) (float) (string) (array) (object) (bool) @types and increment/decrementnon-associativeinstanceoftypesright!logicalleft* / %arithmeticleft+ – .arithmetic ?i stringleft<< >>bitwisenon-associative< <= > >=comparisonnon-associative== != === … Read more »