현재 위치: > 함수 카테고리 모음> 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] => ξ
  [∧] => ∧
  [∨] => ∨
  [∩] => ∩
  [∪] => ∪
  [∫] => ∫
  [∴] => ∴
  [~] => ~
  [?] =>?
  [≈] => ≈
  [≠] => ≠
  [≡] => 값
  [≤] => ≤
  [≥] => ≥
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [⊕] => ⊕
  [?] =>?
  [⊥] => ⊥
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
  [?] =>?
))
유사한 함수
  • 문자열이 주어진 부분 문자열로 시작하는지 확인하십시오 str_starts_with

    str_starts_with

    문자열이주어진부분문자열로시작하는지확인
  • 문자열에서 문자 세트 중 하나를 찾으십시오 - 발견 된 문자로 시작하는 부분 문자열을 반환하십시오. strpbrk

    strpbrk

    문자열에서문자세트중하나를찾으십시오-발
  • 문자열을 소문자로 변환합니다 strtolower

    strtolower

    문자열을소문자로변환합니다
  • 문자열 시작시 여러 문자의 이진 안전 비교 (케이스 insensitive) strncasecmp

    strncasecmp

    문자열시작시여러문자의이진안전비교(케이
  • 서브 스트링 교체 str_replace

    str_replace

    서브스트링교체
  • uuencode를 사용하여 문자열을 인코딩하십시오 convert_uuencode

    convert_uuencode

    uuencode를사용하여문자열을인코딩
  • 디지털 형식 정보를 얻으십시오 localeconv

    localeconv

    디지털형식정보를얻으십시오
  • 문자를 변환하거나 하위 문자를 바꾸십시오 - 지정된 문자를 변환합니다 strtr

    strtr

    문자를변환하거나하위문자를바꾸십시오-지