On 2/5/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
# [EMAIL PROTECTED] / 2007-02-06 00:36:25 +0100:
> On 2/5/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote:
> ># [EMAIL PROTECTED] / 2007-02-05 23:11:46 -0000:
> >> bjori Mon Feb 5 23:11:46 2007 UTC
> >>
> >> Modified files:
> >> /phpdoc/phpbook/phpbook-xsl common.xsl
> >> Log:
> >> constructors can be void, too
> >
> >I thought the type of a constructor is always the name of the containing
> >class. In what sense can be a constructor void?
>
> Hi Roman
>
> Sorry for the confusing commit message,
> the constructor doesn't need any arguments - just as any other
> ordinary method/function.
>
> This commit fixes
> http://php.net/function.dom-domimplementation-construct for instance.
Aha! Hmm... How about avoiding the overload on "void" by using "nullary"
for functions taking no parameters?
Feel free to explain =)
-Hannes
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991