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 (and undocumented) with PHP5, you do not declare return types in PHP. You can return(TRUE); or return(FALSE); to actually return a boolean value, though. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php