On Sat, Mar 29, 2008 at 05:15:46PM +0100, Davide Brini wrote:
> On Saturday 29 March 2008, 10:53, Filippo Giunchedi wrote:
>
> > Al momento no, ma posso portare a testimonianza un'altra cosa buffa:
> >
> > $ echo '<? echo(True); echo(False); echo("\n"); ?>' | php
> > 1
> > $
>
> Questo e' documentato (tratto da
> http://it.php.net/manual/en/language.types.string.php#language.types.string.casting):
E' anche documentato che "php" == 0 e' True, che non e' parimenti intuitivo:
http://www.php.net/manual/en/types.comparisons.php
filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:
Computation has made the tree flower.
-- Alan Perlis
|