Thread: array to object
View Single Post
Old 03-24-2008, 11:16 AM   #8 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

The quirks of PHP In your test above, PHP gives $_GET['toto'] a default string value of "". If a $_GET variable wasn't passed in the URL, it would have the value of NULL in your script.

Alan
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote