PHP Classes

File: tests/fixtures/code_result.html

Recommend this page to a friend!
  Classes of Lars Moelleken  >  PHP HTML Minify Class  >  tests/fixtures/code_result.html  >  Download  
File: tests/fixtures/code_result.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: [+]: fix issue #14 -> simple-html-dom must be updated to fix this problem ...

[+]: fix issue #15 -> check if the last type was already whitespace ...
Date: 9 months ago
Size: 577 bytes


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

</code></pre> <script async id=asciicast-18487 src=></script>