[ create a new paste ] login | about

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

PHP, pasted on Aug 20:
1
2
3
4
5
6
<?php
$doc = new DOMDocument();
$doc->substituteEntities = false;
$doc->loadHTML('<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">
<html><body><p>&Acirc;&macr;\(&Acirc;&deg;_o)/&Acirc;&macr;</p></body></html>


Create a new paste based on this one


Comments: