I have array of 3000 elements which are like this 

```
   Array[0]= 405adc92-cfad-4be6-9ad2-ca363eda4933
   Array[1]= 405adc92-cfad-4be6-9ad2-ca363eda4933

```

And I need to pass a variable in a function which require only a single quote at the beginning. I tried a solution on web which is pasting single quote on beginning and end aswell .like this 

```
function add_quotes($str) {
   return sprintf("'%s'", $str);
}
$csv =  implode(',', array_map('add_quotes', $a));
 $myArray = explode(',', $csv);
echo gettype($myArray[1]);

```

so answer is like this 

```
myArray[1]='405adc92-cfad-4be6-9ad2-ca363eda4933'

```

So what Could I do to get rid ?