I\'m iterating through an array and sorting it by values into days of the week.
In order to do it I\'m using many if statements. Does it make any differ
if
You can have a look at phpbench
But to be honest if you want to optimize at this level, you might want to learn something else than php.