RE: [PHP] boolean type function ?
| From: | Ford, Mike [LSS] | Date: | Wed, 18 Feb 2004 18:35:55 +0000 |
| Subject: | RE: [PHP] boolean type function ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-178156@lists.php.net to get a copy of this message | ||
On 18 February 2004 18:28, Mike Mapsnac contributed these pearls of wisdom:
> I search on php.net. How to declare php function as type
> boolean?
You don't -- PHP is a dynamically typed language. Just return a Boolean
value, and there you are.
Cheers!
Mike
--
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211