Any equivalent to .= for adding to beginning of string in PHP? December 26, 2022 by Tarik Nope. But you can do $foo = "bar" . $foo