-----BEGIN PGP SIGNED MESSAGE-----
* and then Erik Price declared....
> Hm. I can't answer your question, but I'd like to ask you one. I've
> been using 'return 1' or 'return 0' in my function calls -- is there an
> advantage to using 'TRUE' or 'FALSE' rather than numbers? In other
> words, why did you choose to do it the way you did?
The only advantage I see is being able to do something like
} else print("false");
Which is quite tidy.
I think I've caught the problem BTW, I switched from testing with
if/else to a switch statement. Which says I was testing incorrectly (not
that I ever worked out why)
Tel: +45 3325 0688
Fax: +45 3325 0677
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
-----END PGP SIGNATURE-----
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php