in reply to Loops and speed

i was under the (perhaps misguided) impression that the
'do_something() if $condition'
form would be marginally faster than the
'if ($condition) { do_something() }'
as the second form opens a block, and thereby a new scope, which requires extra work.

while it seems to be the case that the first form is indeed marginally faster, it really is marginal. thanks for the benchmarks guys!

d_i_r_t_y