Welcome Guest, Not a member yet? Register   Sign In
View code that hurts your brain
#6

[eluser]m4rw3r[/eluser]
From what I remember of a page discussing that with echo and commas, echo was run for every data sent to it.

So this calls echo once:
Code:
echo $firstname.$lastname;

This calls it two times (but in C, so it is still fast):
Code:
echo $firstname, $lastname;

If I recall, this makes commas faster in some instances and slower in others.


Messages In This Thread
View code that hurts your brain - by El Forum - 08-22-2008, 03:32 AM
View code that hurts your brain - by El Forum - 08-22-2008, 08:22 AM
View code that hurts your brain - by El Forum - 08-22-2008, 09:42 AM
View code that hurts your brain - by El Forum - 08-22-2008, 10:45 AM
View code that hurts your brain - by El Forum - 08-22-2008, 12:37 PM
View code that hurts your brain - by El Forum - 08-22-2008, 02:28 PM
View code that hurts your brain - by El Forum - 08-22-2008, 04:10 PM
View code that hurts your brain - by El Forum - 08-22-2008, 04:42 PM
View code that hurts your brain - by El Forum - 08-22-2008, 06:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB