Re: Re: Newbie question about <?= ?>

From: Date: Mon, 11 Sep 2006 16:24:38 +0000
Subject: Re: Re: Newbie question about <?= ?>
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-241605@lists.php.net to get a copy of this message
I admit I'm totally surprised about the buffered results. Nevertheless, may I sugest you add the following to the series of tests?:
       <h3>Using line-by-line single-quoted echo<br/>with comma separated arguments</h3>
<?php $start = mt(); print '<table style="display:none;" id="table2a">'; for ($x = 0; $x < $iterations; $x++) {
       echo '<tr><td>X is</td><td>',$x,'</td></tr>';
} print '</table>'; $duration = mt() - $start; print '<p>Took '.number_format($duration, 4).' seconds</p>'; ?>
       <p>&raquo; <a id="table2alink"
           href="#" onclick="document.getElementById('table2a').style.display='block';
           document.getElementById('table2alink').style.display='none';return false;">
       Reveal output</a></p>
There seems to be one thing rarely anybody remembers, echo admits multiple arguments, and as the numbers will show, (or at least they do in my machine), they are the second best option. Satyam ----- Original Message ----- From: "Stut" <stuttle@gmail.com> To: "Jon Anderson" <jon@gamingsolutions.ca> Cc: "Satyam" <Satyam@satyam.com.ar>; <php-general@lists.php.net> Sent: Monday, September 11, 2006 5:56 PM Subject: Re: [PHP] Re: Newbie question about <?= ?>
How bored am I? This bored: http://dev.stut.net/phpspeed/ Server is running PHP 5.1.2 (really should upgrade that) with no caches of any sort. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#241605) next »