0

Implode:

$array = array("text1", "text2");
echo $out = implode("-", $array);

Output:

text1-text2

What I want:

 $out2 = invese_implode("-", $out);

Out:

$out2 = array("text1", "text2");

I have tried to create a function inverse upload and made it trim the string every symbol but it doesn't worked correctly.

ja0
  • 37
  • 4

0 Answers0