Re: [PHP-DOC] Convention: true/false From: Daniel Beckham (danbeck <email protected>)
Date: 06/26/01

I personally don't care for one over the other. I would only prefer that we
are consistant and that it's rendered properly in the various manual
formats.

Daniel

----- Original Message -----
From: "Jeroen van Wolffelaar" <jeroen <email protected>>
To: "Hojtsy Gabor" <goba <email protected>>
Cc: <jeroen <email protected>>; "PHP-DOC lista" <phpdoc <email protected>>
Sent: Tuesday, June 26, 2001 4:26 AM
Subject: Re: [PHP-DOC] Convention: true/false

> > TRUE *is not* a constant. There is a boolean type in PHP 4.
> > TRUE *was* a constant in PHP 3...
>
> It is still defined as constant, just like NULL.
> (zend_constants.c:117 : true/false constants)
> THough you can argue
> that it's better to see it as being a special keyword.
>
> It is a constant in the sense that its value never changes.
> And, though layout shouldn't be an issue when it comes to xml, I like
> the makeup op <constant> better in case of values like true...
>
> So, I'm still in favor of <constant>. Thats 1 contra, 1 pro.
>
> > Goba
> >
> >
>
> Jeroen van Wolffelaar
> Jeroen <email protected>
> http://www.A-Eskwadraat.nl/~jeroen
>
>