> How about the convenstion that true/false should always be written as:
>
> <constant>TRUE</constant>
> and idem for false?
>
> It is also possible to make that a snippet, but I think that'd be
> overkill... What do you think of it?
>
> By the way: typical example of where a good script can be used :) In fact
> just
> a multifile regex of course.
> /(<(literal|constant)>)?false(</\2>)?/i => <constant>FALSE</constant> for
> example.
TRUE *is not* a constant. There is a boolean type in PHP 4.
TRUE *was* a constant in PHP 3...
Goba