[ create a new paste ] login | about

Link: http://codepad.org/Sr3d710Q    [ raw code | output | fork ]

PHP, pasted on Aug 21:
1
2
3
4
5
<?php
$doc = new DOMDocument();
$doc->loadHTML('<?xml encoding="UTF-8">'.'<p>¯\(°_o)/¯</p>');
print_r($doc->saveHTML());
?>


Output:
1
2
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<?xml encoding="UTF-8"><html><body><p>&Acirc;&macr;\(&Acirc;&deg;_o)/&Acirc;&macr;</p></body></html>


Create a new paste based on this one


Comments: