Thread: XML -> Object
View Single Post
  #5  
Old 06-25-2007, 10:31 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by JkWhoSaysNi View Post
Ok, i thought it worked but it doesn't for some reason this wont work:

PHP Code:
"something.test";
object.(@r).foo "Test"
For some reason it thinks there are dots in the var name. so something.test is listed as a variable in getVarNames() of object.

Strange. Any ideas?

object.(@ r @ ".foo") = "Test";


Would work I think,
but I would say use makevar as Twinny stated
__________________
Reply With Quote