FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » return value?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: return value? [message #170875 is a reply to message #170864] Sat, 04 December 2010 13:57 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 12/4/2010 2:39 AM, Paul Fredlein wrote:
> Hi,
>
> Basic newbie question:-
>
> $value = "0";
> return $value;
>
> I assume that would return a string (or in this case one char with the
> hex value of 30) - is that right?
>

It returns a string.

> $value = 0;
> return $value;
>
> What does this return? Is it a string, a short int (little endian or big
> endian) or what?
>

It returns an integer. little endian or big endian is hardware
dependent (and completely immaterial).

> Thanks,
>
> Paul


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: what better book ?
Next Topic: PHP/AJAX Problem
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 21:22:04 GMT 2024

Total time taken to generate the page: 0.03772 seconds