Hi bro's!
Which of these two is faster ?
or
? and why?
And.. how can i do my own benchmark?
Thank you!
Which of these two is faster ?
PHP Code:
if(var == 1) { return X; }
PHP Code:
switch(var) { case 1: return X; }
And.. how can i do my own benchmark?
Thank you!