I'm currently in the middle of a discussion with some fellow PHP
developers regarding the speed of what we call in/out compared to
echo. With in/out we mean stuff like this:

// php code
?>
<html>some html</html>
<?php
// more php

The manual states that PHP treats ?><?php as an echo statement, and I
don't think there can be any speed difference between the two, however one
of my fellow developers thinks there is a difference, and created a test
which showed a 60% speed difference (using a for loop that ran 10000
times). The test was badly executed IMO, so I ran my own which showed
virtually no difference, but rather than getting into a flame-war I
thought I'd just ask here for a quick answer. Is there a difference, and
if so, is it significant?

Regards
André Nęss



--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to