Date: 06/26/01
- Next message: Jeroen van Wolffelaar: "Re: [PHP-DOC] cvs: phpdoc / version.dsl version.xml"
- Previous message: sniper <email protected>: "[PHP-DOC] Bug #11683 Updated: Manual vague on .htaccess options"
- In reply to: Hojtsy Gabor: "Re: [PHP-DOC] Convention: true/false"
- Next in thread: Daniel Beckham: "Re: [PHP-DOC] Convention: true/false"
- Reply: Daniel Beckham: "Re: [PHP-DOC] Convention: true/false"
- Reply: derick <email protected>: "Re: [PHP-DOC] Convention: true/false"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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
- Next message: Jeroen van Wolffelaar: "Re: [PHP-DOC] cvs: phpdoc / version.dsl version.xml"
- Previous message: sniper <email protected>: "[PHP-DOC] Bug #11683 Updated: Manual vague on .htaccess options"
- In reply to: Hojtsy Gabor: "Re: [PHP-DOC] Convention: true/false"
- Next in thread: Daniel Beckham: "Re: [PHP-DOC] Convention: true/false"
- Reply: Daniel Beckham: "Re: [PHP-DOC] Convention: true/false"
- Reply: derick <email protected>: "Re: [PHP-DOC] Convention: true/false"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

