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

Home » Imported messages » comp.lang.php » Novice Question
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Novice Question [message #180595 is a reply to message #180589] Mon, 04 March 2013 22:12 Go to previous messageGo to previous message
Gregor Kofler is currently offline  Gregor Kofler
Messages: 69
Registered: September 2010
Karma:
Member
Am 04.03.2013 01:52, Thomas 'PointedEars' Lahn meinte:
> Gregor Kofler wrote:
>
>> Am 03.03.2013 23:10, David Heller meinte:
>>> I'm doing some maintenance/upgrade of some old php4.3 code and I ran
>>> across the following code snippet:
>>> $gvns = (array)$gvns;
>>> What it exactly is happening here? what does (array) mean?
>>> never seen anything like this before.
>>
>> Type casting.
>
> ACK.
>
>> (It's the same as $gvns = array($gvns); )
>
> Evidently it is not.

Indeed. My claim is only valid for scalar values.

Gregor
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: XML error when accessing a certain method of a wsdl service
Next Topic: Dynamically change video URLs
Goto Forum:
  

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

Current Time: Mon Nov 25 22:11:45 GMT 2024

Total time taken to generate the page: 0.04935 seconds