summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/009.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tidy/tests/009.phpt')
-rw-r--r--ext/tidy/tests/009.phpt19
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/tidy/tests/009.phpt b/ext/tidy/tests/009.phpt
new file mode 100644
index 0000000..02c65df
--- /dev/null
+++ b/ext/tidy/tests/009.phpt
@@ -0,0 +1,19 @@
+--TEST--
+tidy_doc object overloading
+--SKIPIF--
+<?php if (!extension_loaded("tidy")) print "skip"; ?>
+--FILE--
+<?php
+
+ $a = tidy_parse_string("<HTML></HTML>");
+ echo $a;
+
+?>
+--EXPECT--
+<html>
+<head>
+<title></title>
+</head>
+<body>
+</body>
+</html> \ No newline at end of file