[PHP] boolean type function ?

2004-02-18 Thread Mike Mapsnac
I search on php.net. How to declare php function as type boolean? I tried the following declaration; function booolean check_ip_remote() boolean check_ip_remote() But both declaration are wrong. I got the error messages

Re: [PHP] boolean type function ?

2004-02-18 Thread Richard Davey
Hello Mike, Wednesday, February 18, 2004, 6:28:11 PM, you wrote: MM I tried the following declaration; MM function booolean check_ip_remote() MM boolean check_ip_remote() MM But both declaration are wrong. I got the error messages I'm not surprised - what is it you're trying to do?

RE: [PHP] boolean type function ?

2004-02-18 Thread Ford, Mike [LSS]
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

Re: [PHP] boolean type function ?

2004-02-18 Thread John W. Holmes
From: Mike Mapsnac [EMAIL PROTECTED] I search on php.net. How to declare php function as type boolean? I tried the following declaration; function booolean check_ip_remote() boolean check_ip_remote() But both declaration are wrong. I got the error messages Unless this is something new