Re: Newbee question!!!

From: Date: Mon, 10 Jul 2000 02:45:40 +0000
Subject: Re: Newbee question!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5671@lists.php.net to get a copy of this message
On 9 Jul, Ed Warvel wrote: > So it is declaring an integer then! > > Ed No, like he said, it returns an integer; thus you can call the function as : $result = blah(); and use $result, which will contain an integer, for subsequent actions. What those actions are of course will depend on the purpose of the function. > > ""August Zajonc"" <augustz@bigfoot.com> wrote in message > news:MLEHIHMNOJBAOEOOIAECMEGNCMAA.augustz@bigfoot.com... >> Describes what the function returns, so if the function is called >> int SumeFancyFunction() >> >> you know it will return a number. >> >> Hope that helps, >> >> August >> >> >> > -----Original Message----- >> > From: Ed Warvel [mailto:edwarvel@freewwweb.com] >> > Sent: Sunday, July 09, 2000 4:37 PM >> > To: php-general@lists.php.net >> > Subject: [PHP] Newbee question!!! >> > >> > >> > 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. >> > >> > Ed >> > >> > >> > >> > -- >> > PHP General Mailing List (http://www.php.net/) >> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >> > For additional commands, e-mail: php-general-help@lists.php.net >> > To contact the list administrators, e-mail: >> > php-list-admin@lists.php.net >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >> For additional commands, e-mail: php-general-help@lists.php.net >> To contact the list administrators, e-mail: php-list-admin@lists.php.net >> > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#5671) next »