Print Vs. Echo

8/4/2004 · 0 comments

in PHP & MySQL

Danny ‘dynacker’ Lee provides an interesting experiment, measuring the difference in speed between the two commands for sending data to the client in PHP (Web browser, command line, or a file). Check out Print Vs. Echo. Echo, is much faster than print.

Note that this is not a static page, each time you hit it, the page runs the experiment. Pretty damn cool.

Did you like this? Please share it:

Add to Twitter Add to Delicious Add to Facebook Add to Stumble Upon Add to Digg Add to Reddit Add to Yahoo Buzz

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post:

Next post: