I use DOMDocument. My code here.

```
$dom = new DOMDocument('1.0', 'utf-8');
$textNode = $dom->createTextNode('<input type="text" name="lastName" />');
$dom->appendChild($textNode);
echo $dom->saveHTML();

```

Output:

```
&lt;input type="text" name="lastName" /&gt;

```

I want to this output

```
<input type="text" name="lastName" />

```

How can i do?