<?php html_entity_decode(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, ?string $encoding = null): string
<?php )->make($view, $data)->render(); return new HtmlString( html_entity_decode(preg_replace("/[\r\n]{2,}/", "\n\n", $contents), ENT_QUOTES, 'UTF-8') ); }
<?php $method = TestSuite::getInstance()->tests->get(self::$__filename)->getMethod($this->name()); $description = $this->dataName() ? $method->description.' with '.$this->dataName() : $method->description; $description = htmlspecialchars(html_entity_decode($description), ENT_NOQUOTES); if ($method->repetitions > 1) { $matches = [];
<?php $output = ob_get_clean(); assert(is_string($output)); return strip_tags(html_entity_decode($output)); } finally { ini_set('html_errors', $html); }
<?php public static function decode($value) { return html_entity_decode($value, ENT_QUOTES, Config::get('statamic.system.charset', 'UTF-8')); }