<?php $string = "test's";echo htmlspecialchars_decode($string);echo preg_replace_callback("/(&#[0-9]+;)/", function($m) { return mb_convert_encoding($m[1], "UTF-8", "HTML-ENTITIES"); }, $string);
Standard input is empty
test'stest's
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!