PHP Classes

File: tests/fixtures/code.html

Recommend this page to a friend!
  Classes of Lars Moelleken   PHP HTML Minify Class   tests/fixtures/code.html   Download  
File: tests/fixtures/code.html
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP HTML Minify Class
Compress HTML removing unnecessary data
Author: By
Last change:
Date: 7 years ago
Size: 631 bytes
 

Contents

Class file image Download
<!DOCTYPE html> <html> <head></head> <body> <pre><code class="php">&lt;?php require 'vendor/autoload.php'; $loop = React\EventLoop\Factory::create(); $socket = new React\Socket\Server($loop); $http = new React\Http\Server($socket, $loop); $http-&gt;on('request', function ($request, $response) { $response-&gt;writeHead(200, array('Content-Type' =&gt; 'text/plain')); $response-&gt;end("Hello World\n"); }); $socket-&gt;listen(1337); $loop-&gt;run(); </code></pre> <script TypE="text/javascript" SRC="https://asciinema.org/a/18487.js" id="asciicast-18487" async></script></body> </html>