Lines Matching refs:ent
75 * @param string $ent An entity
78 protected static function decodeAnyEntity($ent) argument
91 if ($ent[1] === '#') {
92 return self::decodeNumericEntity($ent);
95 if (array_key_exists($ent[0], $table)) {
96 return $table[$ent[0]];
99 return $ent[0];
108 protected static function decodeNumericEntity($ent) argument
110 switch ($ent[2]) {
113 $cp = hexdec($ent[3]);
116 $cp = (int) $ent[3];