note 74307 deleted from ref.apc by danbrown
| From: | danbrown@php.net | Date: | Thu, 18 Feb 2010 14:25:44 +0000 |
| Subject: | note 74307 deleted from ref.apc by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-166127@lists.php.net to get a copy of this message | ||
Note Submitter: jphp at dsf dot org dot uk
----
An improvement on ashus at atlas dot cz's script below would be to add around the script that
generates the output:
<?php
//...
ob_start ();
// script goes here
$out = ob_get_content();
ob_end_clean ();
//...
?>
That way you can continue to use echo rather than string concatenation, and it should be a little
faster.