Lines Matching defs:ent
75 * @param string $ent An entity
78 protected static function decodeAnyEntity($ent)
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];
105 * @param $ent string A numeric entity
108 protected static function decodeNumericEntity($ent)
110 switch ($ent[2]) {
113 $cp = hexdec($ent[3]);
116 $cp = (int) $ent[3];