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: 5 years ago
Size: 631 bytes


Class file image Download
<!DOCTYPE html>
<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");


<script TypE="text/javascript" SRC="" id="asciicast-18487" async></script></body>
For more information send a message to info at phpclasses dot org.