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 #180588 is a reply to message #180587] Sun, 03 March 2013 23:38 Go to previous messageGo to previous message
Gregor Kofler is currently offline  Gregor Kofler
Messages: 69
Registered: September 2010
Karma:
Member
Am 03.03.2013 23:10, David Heller meinte:
>
> Hello
>
> 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. (It's the same as $gvns = array($gvns); )

< http://www.php.net/manual/en/language.types.array.php#language.types.array. casting>


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: Fri Nov 22 09:32:50 GMT 2024

Total time taken to generate the page: 0.04891 seconds