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 #170867 is a reply to message #170864] Sat, 04 December 2010 10:13 Go to previous messageGo to previous message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma:
Senior Member
On 04-12-10 08:39, 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?

Yes, the answer is here:
http://www.php.net/manual/en/function.gettype.php

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

it should not be a string,
i should test this to see what happens,
before i know the answer
but so can you ;-)

>
> Thanks,
>
> Paul




--
Luuk
[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: Tue Nov 26 18:37:41 GMT 2024

Total time taken to generate the page: 0.03698 seconds