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 $cp = match ($ent[2]) {
111 'X', 'x' => hexdec($ent[3]),
112 default => (int) $ent[3],