that didnt work for me....
I tried what you had exactly... but then changed $$user['age'] to $$user_name['age'] and still didnt work...
I didnt get a parse error or anything, but $bobbob doesnt get set, but I can print $$user_name['age'] just fine.
print($$user_name['age']);
with
print('$bobbob['age']'); it prints that exact phrase.
but it doesnt print anything if I dont use any quote, or double quotes.
print("bobbob['age']"); // returns nothing.
print(bobbob['age']); // returns nothing.
This is My current setup:
<?
$user_name = "bobbob";
$$user_name[age] = "24";
$$user_name[city] = "sometown";
$$user_name[pass] = "encryptedpass";
print("$bobbob[age]");
?>