This repository contains tests for profiling the performance of various output methods in PHP.
- Open a terminal.
- Change your Present Working Directory to the Output-Profiling/ directory.
- Run $ php index.php
There are four tests for print, echo, concatenation, and array + implode already coded in the index.php file. Just uncomment the test you would like to run.
http://dan.doezema.com/2011/07/php-output-profiling-echo-vs-concat/
Daniel Doezema
This code is released under the New BSD license. http://dan.doezema.com/licenses/new-bsd/