(Crossposted and followups set. Hope you don't mind Markus.)
The Manual expresses the parameters of htmlentities as:
string string [, int quote_style [, string charset]]
The meaning is unambiguous: the first parameter, "string", must be
present; the second parameter, "quote_styl e", is optional; and the
final parameter, "charset", is optional too, but its presence
requires the, prima facie, ought-to-be dispensable second
parameter.
Why does the existence of the charset parameter depend on the
existence of the quote_style parameter? What's the connection?
--
Jock
The Manual expresses the parameters of htmlentities as:
string string [, int quote_style [, string charset]]
The meaning is unambiguous: the first parameter, "string", must be
present; the second parameter, "quote_styl e", is optional; and the
final parameter, "charset", is optional too, but its presence
requires the, prima facie, ought-to-be dispensable second
parameter.
Why does the existence of the charset parameter depend on the
existence of the quote_style parameter? What's the connection?
--
Jock
Comment