diff options
Diffstat (limited to 'example.php')
-rw-r--r-- | example.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/example.php b/example.php new file mode 100644 index 0000000..8c37225 --- /dev/null +++ b/example.php @@ -0,0 +1,10 @@ +<?php + +require "vendor/autoload.php"; + + +$html = "<html><head><title>TEST</title></head><body>Hello World</body></html>"; + +$dom = \HTML5\Parser::parse($html); + +print_r($dom); |