I Make a
echo '<pre>';
echo var_dump($arrayX);
echo '</pre>'
I got the result:
array(6) {
[0]=>
string(9) "AAA"
[1]=>
string(13) "BBB"
[2]=>
string(8) "CCC"
[3]=>
string(8) "DDD"
[4]=>
string(8) "EEE"
[5]=>
string(13) "FFF"
}
How Can I make It to A New array
What I want is to get arrayX in this format :
array('AAA', 'BBB' , 'CCC','DDD', 'EEE', 'FFF');
$myarray = array('AAA', 'BBB' , 'CCC','DDD', 'EEE', 'FFF');
If you want a copy of it then
However if you have to convert it to some string format then the better way of doing it would be this
Or better yet
If that does not do it then here is how to parse the vardump format in question