Re: Newbee question!!!
| From: | (Richard Lynch) | Date: | Thu, 13 Jul 2000 02:11:04 +0000 |
| Subject: | Re: Newbee question!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6362@lists.php.net to get a copy of this message | ||
In article <8kanna$g2p$1@toye.php.net>, edwarvel@freewwweb.com ("Ed
Warvel") wrote:
> I'm learning PHP and in the books I have, I see where they are starting some
> functions w/ int function_name blah blah. What does the int mean/do. I can't
> see any reference to it in the book, it just starts appearing in the code. I
> have a JavaScript and Cold Fusion background and the only thing I recall
> using int in those languages is to declare an integer (as in
> parseInt(whatever)) but that doesn't seem appropriate for the sample code
> I'm seeing.
The int there is to tell you that the function will return an int. So you
don't type it or anything, but you can count on the function giving back
an int, and there's usually something useful to do with that int when you
get it back. Check it for error codes or something, usually.
Hope that makes sense...
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)