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

* 'master' of
Fix Undefined property: DOMComment::$wholeText; added unittest for doRemoveComments(false)
Update .travis.yml
Date: 4 years ago
Size: 579 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"); }); $socket-&gt;listen(1337); $loop-&gt;run(); </code></pre> <script async id=asciicast-18487 src=></script>