Re: [PHP-DEV] Echo vs in/out

2001-10-28 Thread Zeev Suraski
As a matter of fact, going into and out of HTML blocks generates pretty much the same intermediate code as echo does - echo is built into the language at the very same level. If you use printf() or something like that, though, you'll feel a significant difference. That wasn't the case in PHP 3.0

Re: [PHP-DEV] Echo vs in/out

2001-10-28 Thread Brian Moon
It has always been my understanding that in/out is faster as PHP does not have to evalutate the terms for variables. The best test would be to use an app like apache bench (aka: ab) against the two pages. Like this: Test 1 --- results: - This is ApacheBench, Version 1.3c <$Revisi