Appending characters to a list

i have a long list of numbers like this

36346346
436346
444444
44
666666666666865
4564
.
.
.

and at the beginning and end of each entry i want to append some characters so it looks like this:

-36346346+
-436346+
-444444+
-44+

how do to this with php? thanks

You can use php’s string concatenation operators to join/append strings.

so how to do? i know the script is short but i’m pulling my hair out trying ot put the pieces to gether.

Are the numbers in an array?