현재 위치: > 함수 카테고리 모음> get_html_translation_table

get_html_translation_table

htmlspecialchars () 및 htmlentities ()를 사용한 후 변환 테이블을 반환합니다.
이름:get_html_translation_table
분류:
사용 언어:php
한 줄 설명:htmlspecialchars () 및 htmlentities ()에서 사용하는 번역 테이블을 반환합니다.

예 1

HTMLSpecialchars 기능에서 사용하는 번역 테이블을 출력하십시오.

 <span class="token php language-php"><span class="token delimiter important"><? php</span>
<span class="token function">print_r</span> <span class="token punctuation">(</span> <span class="token function">get_html_translation_table</span> <span class="token punctuation">(</span> <span class="token punctuation">)</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span> <span class="token comment">// html_specialchars가 기본값입니다</span>
<span class="token delimiter important">?></span></span>

직접 시도하십시오

예 2

html_specialchars 번역 테이블 :

 <span class="token php language-php"><span class="token delimiter important"><? php</span>
<span class="token function">print_r</span> <span class="token punctuation">(</span> <span class="token function">get_html_translation_table</span> <span class="token punctuation">(</span> <span class="token constant">html_specialchars</span> <span class="token punctuation">)</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

캐릭터 및 엔티티 이름 표시 :

 정렬
(
  [ "] =>"
  [&] => &
  [<] => <
  [>] =>>
))

예 3

html_entities 번역 테이블 :

 <span class="token php language-php"><span class="token delimiter important"><? php</span>
<span class="token function">print_r</span> <span class="token punctuation">(</span> <span class="token function">get_html_translation_table</span> <span class="token punctuation">(</span> <span class="token constant">html_entities</span> <span class="token punctuation">)</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

캐릭터 및 엔티티 이름 표시 :

 정렬
(
  [ "] =>"
  [&] => &
  [<] => <
  [>] =>>
  [] =>
    [?] =>?
  [?] =>>
  [?] =>>
  [?] => ¤
  [?] =>>
  [?] => |
  [?] => §
  [?] => ¨
  [?] =>?
  [?] => a
  [?] =>?
  [?] =>?
  [?] => -
  [?] =>?
  [?] =>>
  [?] => °
  [?] => ±
  [?] => 2
  [?] => 3
  [?] => &#39;
  [?] => μ
  [?] =>?
  [?] => ·
  [?] =>?
  [?] => 1
  [?] => o
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] => à
  [?] => Á
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] => è
  [?] => é
  [?] => ê
  [?] =>?
  [?] => ì
  [?] => í
  [?] =>?
  [?] =>?
  [?] => d
  [?] =>?
  [?] => ò
  [?] => Ó
  [?] =>?
  [?] =>?
  [?] =>?
  [?] => ×
  [?] =>?
  [?] => ù
  [?] => ú
  [?] =>?
  [?] => ü
  [?] => y
  [?] => t
  [?] =>?
  [?] => à
  [?] => Á
  [?] => a
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] => è
  [?] => é
  [?] => ê
  [?] =>?
  [?] => ì
  [?] => í
  [?] =>?
  [?] =>?
  [?] => e
  [?] =>?
  [?] => ò
  [?] => Ó
  [?] =>?
  [?] =>?
  [?] =>?
  [?] => ÷
  [?] =>?
  [?] => ù
  [?] => ú
  [?] =>?
  [?] => ü
  [?] => y
  [?] => t
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?

  [?] =>?
  [?] =>?
  [?] =>?
  [α] => α
  [β] => β
  [γ] => γ
  [δ] => δ
  [ε] => ε
  [ζ] => ζ
  [η] => η
  [θ] => θ
  [ι] => ι
  [κ] => κ
  [λ] => λ
  [μ] => μ
  [ν] => ν
  [ξ] => ξ
  [ο] => ο
  [π] => π
  [ρ] => ρ
  [σ] => σ
  [τ] => τ
  [υ] => υ
  [φ] => φ
  [χ] => χ
  [ψ] => ψ
  [ω] => ω
  [α] => α
  [β] => β
  [γ] => γ
  [δ] => δ
  [ε] => ε
  [ζ] => ζ
  [η] => η
  [θ] => θ
  [ι] => ι
  [κ] => κ
  [λ] => λ
  [μ] => μ
  [ν] => ν
  [ξ] => ξ
  [ο] => ο
  [π] => π
  [ρ] => ρ
  [?] =>?
  [σ] => σ
  [τ] => τ
  [υ] => υ
  [φ] => φ
  [χ] => χ
  [ψ] => ψ
  [ω] => ω
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] => -
  [?] => -
  [?] => &#39;
  [?] => &#39;
  [?] =>?
  [?] => "
  [?] =>”
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>…
  [?] => ‰
  [ &#39;] =>&#39;
  [″] => ″
  [?] =>?
  [?] =>?
  [ ̄] =>  ̄
  [?] =>?
  [?] => €
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [←] =>}
  [↑] => ↑
  [→] => →
  [↓] => ↓
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [∈] => ∈입니다
  [?] =>?
  [?] =>?
  [∏] => ∏
  [∑] => ∑
  [?] =>?
  [?] =>?
  [√] => √
  [∝] => ∝
  [∞] => ∞
  [20] => ξ
  [∧] => ∧
  [∨] => ∨
  [∩] => ∩
  [∪] => ∪
  [∫] => ∫
  [∴] => ∴
  [~] => ~
  [?] =>?
  [≈] => ≈
  [≠] => ≠
  [≡] => 값
  [≤] => ≤
  [≥] => ≥
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [⊕] => ⊕
  [?] =>?
  [⊥] => ⊥
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
))
유사한 함수
  • 문자열에서 문자 세트 중 하나를 찾으십시오 - 발견 된 문자로 시작하는 부분 문자열을 반환하십시오. strpbrk

    strpbrk

    문자열에서문자세트중하나를찾으십시오-발
  • 이진 데이터를 16 진수 표현으로 변환합니다 bin2hex

    bin2hex

    이진데이터를16진수표현으로변환합니다
  • 16 진 문자열을 바이너리 스트링으로 변환합니다 hex2bin

    hex2bin

    16진문자열을바이너리스트링으로변환합니
  • 하나 이상의 문자열을 출력합니다 echo

    echo

    하나이상의문자열을출력합니다
  • 문자열을 출력하십시오 print

    print

    문자열을출력하십시오
  • 주어진 파일의 MD5 해시 값을 계산하십시오 md5_file

    md5_file

    주어진파일의MD5해시값을계산하십시오
  • 문자열의 첫 바이트를 0-255 사이의 값으로 변환합니다. ord

    ord

    문자열의첫바이트를0-255사이의값으로
  • CRC32 다항식 문자열을 계산하십시오 crc32

    crc32

    CRC32다항식문자열을계산하십시오