I'm trying to construct the name of an array out of several Strings using str_cat . And then use the resulting string (the name of the array) to modify the array's values.
But... it doesn't work. When I check for the value of test[3] it gives me a really huge number (90688). The problem appears to be in the last line. It appears that the string "first_half" is not recognized as an array.
I'm stuck here and even after checking the manual I don't know how to work around this. What did I miss? Any help is appreciated.