lundi 20 janvier 2020

How are swapping if statements in an if condition called?

After four hours of searching on the internet how swapping if statements of if conditions are called and was not successful, I decided to open a question. There was a special name for that. Can somebody help me further?

// These conditions:

if ($a === 1){
    // Do something...
}

// Get to these conditions.
if (1 === $a){
    // Do something...
}

How is this type of writing called?

Aucun commentaire:

Enregistrer un commentaire