summaryrefslogtreecommitdiff
path: root/example.php
diff options
context:
space:
mode:
Diffstat (limited to 'example.php')
-rw-r--r--example.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/example.php b/example.php
index 5e3b25f..e4e1f22 100644
--- a/example.php
+++ b/example.php
@@ -1,9 +1,8 @@
<?php
-require "vendor/autoload.php";
+require 'vendor/autoload.php';
use Masterminds\HTML5;
-
$html = <<< 'HERE'
<html>
<head>
@@ -28,6 +27,6 @@ HERE;
$html5 = new HTML5();
$dom = $html5->loadHTML($html);
-print "Converting to HTML 5\n";
+echo "Converting to HTML 5\n";
-$html5->save($dom, fopen("php://stdin", 'w'));
+$html5->save($dom, fopen('php://stdin', 'w'));