htmlentities.phpt

来自「PHP v6.0 For Linux 运行环境:Win9X/ WinME/ Wi」· PHPT 代码 · 共 22 行

PHPT
22
字号
--TEST--HTML entities--INI--output_handler=unicode.script_encoding=ISO-8859-1unicode.output_encoding=ISO-8859-1--FILE--<?php setlocale (LC_CTYPE, "C");$sc_encoded = htmlspecialchars ("<>\"&迥\n");echo $sc_encoded;$ent_encoded = htmlentities ("<>\"&迥\n");echo $ent_encoded;echo html_entity_decode($sc_encoded);echo html_entity_decode($ent_encoded);?>--EXPECT--&lt;&gt;&quot;&amp;迥&lt;&gt;&quot;&amp;&aring;&Auml;<>"&迥<>"&迥

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?