PHP left string concatenation operator?

This might be a very simple and easy question to answer, perhaps not.

To concatenate a string (by appending/right concat.) in php you use:

$a = "a";

$a .= "b";
//The value will be: "ab"

How do I do this, but the other way around?


$a = "a";

$a ???? "b";
//I NEED the value to be: "ba"

Leave a Reply


Hire Me
Follow Me!
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.