So I’m a bit confused as to the general workings of PHP (and I guess other server-side languages).
Say I have a PHP file with this kind of code:
<?php if(1 + 1 == 3) {
//thousands of bytes of calculations, characters, function calls, everything
} else { someQuickEasyFunction(); } ?>
Would that file take any longer to load than a file like this?
<?php someQuickEasyFunction(); ?>
I know they would both only run someQuickEasyFunction - but the first file would be much larger in size - does that affect load times?
Also, do excessive line breaks and such in PHP make a difference?
If anyone can point me in the general direction of a link that would answer these types of questions, I’d be very happy. :cowbell: