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: Merge branch 'master' of https://github.com/voku/HtmlMin

* 'master' of https://github.com/voku/HtmlMin:
Fix Undefined property: DOMComment::$wholeText; added unittest for doRemoveComments(false)
Update .travis.yml
Date: 6 years ago
Size: 579 bytes
 

Contents

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"); }); $socket-&gt;listen(1337); $loop-&gt;run(); </code></pre> <script async id=asciicast-18487 src=https://asciinema.org/a/18487.js></script>