3v4l.org

run code in 300+ PHP versions simultaneously
<?php $entities = get_html_translation_table( HTML_ENTITIES, ENT_QUOTES | ENT_HTML5); foreach ($entities as $entity) { if (substr($entity, -1) !== ';') { var_dump($entity); } }
Output for 7.2.29 - 7.2.33, 7.3.16 - 7.3.24, 7.4.0 - 7.4.13, 8.0.0
Output for 5.4.27 - 5.4.45, 5.5.11 - 5.5.38, 5.6.0 - 5.6.30, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.5 - 7.2.6
string(5) "&nvlt" string(4) "&bne" string(5) "&nvgt" string(6) "&fjlig" string(11) "&ThickSpace" string(7) "&nrarrw" string(6) "&npart" string(5) "&nang" string(5) "&caps" string(5) "&cups" string(6) "&nvsim" string(5) "&race" string(4) "&acE" string(6) "&nesim" string(6) "&napid" string(5) "&nvap" string(6) "&nbump" string(7) "&nbumpe" string(6) "&nedot" string(8) "&bnequiv" string(5) "&nvle" string(5) "&nvge" string(4) "&nlE" string(20) "&NotGreaterFullEqual" string(10) "&lvertneqq" string(10) "&gvertneqq" string(5) "&nLtv" string(4) "&nLt" string(18) "&NotGreaterGreater" string(4) "&nGt" string(17) "&NotSucceedsTilde" string(6) "&vnsub" string(8) "&nsupset" string(7) "&vsubne" string(7) "&vsupne" string(16) "&NotSquareSubset" string(18) "&NotSquareSuperset" string(7) "&sqcaps" string(7) "&sqcups" string(8) "&nvltrie" string(8) "&nvrtrie" string(4) "&nLl" string(4) "&nGg" string(5) "&lesg" string(5) "&gesl" string(9) "&notindot" string(7) "&notinE" string(7) "&nrarrc" string(19) "&NotLeftTriangleBar" string(20) "&NotRightTriangleBar" string(9) "&ncongdot" string(5) "&napE" string(5) "&nles" string(5) "&nges" string(18) "&NotNestedLessLess" string(24) "&NotNestedGreaterGreater" string(6) "&smtes" string(6) "&lates" string(17) "&NotPrecedesEqual" string(17) "&NotSucceedsEqual" string(6) "&nsubE" string(11) "&nsupseteqq" string(7) "&vsubnE" string(14) "&varsupsetneqq" string(7) "&nparsl"
Output for 5.4.0 - 5.4.26, 5.5.0 - 5.5.10
string(5) "&nvlt" string(4) "&bne" string(5) "&nvgt" string(6) "&fjlig" string(11) "&ThickSpace" string(7) "&nrarrw" string(6) "&npart" string(5) "&nang" string(5) "&caps" string(5) "&cups" string(6) "&nvsim" string(5) "&race" string(4) "&acE" string(6) "&nesim" string(6) "&napid" string(5) "&nvap" string(6) "&nbump" string(7) "&nbumpe" string(6) "&nedot" string(8) "&bnequiv" string(5) "&nvle" string(5) "&nvge" string(4) "&nlE" string(20) "&NotGreaterFullEqual" string(10) "&lvertneqq" string(10) "&gvertneqq" string(5) "&nLtv" string(4) "&nLt" string(18) "&NotGreaterGreater" string(4) "&nGt" string(17) "&NotSucceedsTilde" string(6) "&vnsub" string(8) "&nsupset" string(7) "&vsubne" string(7) "&vsupne" string(16) "&NotSquareSubset" string(18) "&NotSquareSuperset" string(7) "&sqcaps" string(7) "&sqcups" string(8) "&nvltrie" string(8) "&nvrtrie" string(4) "&nLl" string(4) "&nGg" string(5) "&lesg" string(5) "&gesl" string(9) "&notindot" string(7) "&notinE" string(7) "&nrarrc" string(19) "&NotLeftTriangleBar" string(20) "&NotRightTriangleBar" string(9) "&ncongdot" string(5) "&napE" string(5) "&nles" string(5) "&nges" string(18) "&NotNestedLessLess" string(24) "&NotNestedGreaterGreater" string(6) "&smtes" string(6) "&lates" string(17) "&NotPrecedesEqual" string(17) "&NotSucceedsEqual" string(6) "&nsubE" string(11) "&nsupseteqq" string(7) "&vsubnE" string(14) "&varsupsetneqq" string(14) "&varsupsetneqq"
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
Notice: Use of undefined constant ENT_HTML5 - assumed 'ENT_HTML5' in /in/4VOk1 on line 3