From: Alex B. <en...@tu...> - 2001-05-24 16:49:21
|
> I asked Andrei here (PHP core developer) about this speed issue. He > seems to think that echo should be marginally faster than breaking in > and out of the HTML inline. He thinks this example is too short for a > fair speed test (probably some state switching setup on the first time > that won't happen on subsequent switches?), an atypical scenario. This > is an extremely marginal difference, hardly a concern. this is what I thought, that breaking, i.e. ?> <html> <? does take a _tiny_ bit more time, but it is so small as to be negligible. there's probably a similar difference between: echo "text"; and echo 'text'; (one is interpreted, the other is not) --- _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |