We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df77fee commit df98edbCopy full SHA for df98edb
ext/tidy/tests/023.phpt
@@ -13,6 +13,9 @@ echo "-------\n";
13
14
$tidy = new tidy();
15
$tidy->parseString('<html><?php echo "xpto;" ?></html>');
16
+var_dump($tidy->value);
17
+
18
+echo "-------\n";
19
20
var_dump(tidy_get_root($tidy)->child[0]->isHtml());
21
var_dump(tidy_get_root($tidy)->child[0]->child[0]->isPHP());
@@ -32,6 +35,15 @@ object(tidy)#1 (2) {
32
35
NULL
33
36
}
34
37
-------
38
+string(82) "<html>
39
+<?php echo "xpto;" ?>
40
+<head>
41
+<title></title>
42
+</head>
43
+<body>
44
+</body>
45
+</html>"
46
+-------
47
bool(true)
48
49
bool(false)
0 commit comments