note 74307 added to ref.apc
| From: | jphp at dsf dot org dot uk | Date: | Wed, 04 Apr 2007 14:37:00 +0000 |
| Subject: | note 74307 added to ref.apc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125089@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 194.145.210.3
Probable Submitter: 87.75.165.214
----
Manual Page -- http://www.php.net/manual/en/ref.apc.php
Edit -- https://master.php.net/note/edit/74307
Del: integrated -- https://master.php.net/note/delete/74307/integrated
Del: useless -- https://master.php.net/note/delete/74307/useless
Del: bad code -- https://master.php.net/note/delete/74307/bad+code
Del: spam -- https://master.php.net/note/delete/74307/spam
Del: non-english -- https://master.php.net/note/delete/74307/non-english
Del: in docs -- https://master.php.net/note/delete/74307/in+docs
Del: other reasons-- https://master.php.net/note/delete/74307
Reject -- https://master.php.net/note/reject/74307
Search -- https://master.php.net/manage/user-notes.php