Pointwise vs. uniform convergence

A function is pointwise bounded on a set [tex]E[/tex] if for every [tex]x\in E[/tex] there is a finite-valued function [tex]\phi[/tex] such that [tex]|f_n(x)|<\phi(x)[/tex] for [tex]n=1,2,...[/tex].

A function is uniformly bounded on [tex]E[/tex] if there is a number [tex]M[/tex] such that [tex]|f_n(x)|<M[/tex] for all [tex]x\in E, n=1,2,...[/tex].

I understand that in uniform boundedness, the bound is independent of [tex]x[/tex] and in pointwise convergence it is dependent. My question is this: if we take [tex]M=\max\phi(x)[/tex], then since [tex]\phi[/tex] is finite-valued, wouldn't this make every pointwise bounded function a uniformly bounded function? I don't understand.

I think for domain being a finite set, both notions coincide because maximum is indeed supremem. However, when it is either countable or uncountable domain, it is not necessary to have the equivalence between maximum and supremum. And it can turn out that supremum is unbounded depsite boundedness at each x. Office_Shredder showed a nice example.