- html_entity_decode: documentation ( source)
<?php
$str = '"Compilers are fun. They take nice, human readable languages like PHP or Hack and turn them into lean, mean, CPU executin' turing machines. Some of these are simple enough a CS student can write one up in a weekend, some are the products of decades of fine tuning and careful architecting. Somewhere in that proud…"';
print html_entity_decode($str, ENT_QUOTES) . "\r\n";
print html_entity_decode($str);