![I was curious what way to concatenate strings in PHP is the fastest. Here are my results in PHP 5.6 and PHP 7. : r/PHP I was curious what way to concatenate strings in PHP is the fastest. Here are my results in PHP 5.6 and PHP 7. : r/PHP](https://external-preview.redd.it/CkyoviHQPsFg5QKqCcZbm8bpeCFXtMFRrECDW3yUEnU.jpg?auto=webp&s=c540a8123ecc93809ee62a8cadbbc92b5563f244)
I was curious what way to concatenate strings in PHP is the fastest. Here are my results in PHP 5.6 and PHP 7. : r/PHP
![Python and String Concatenation. What is the most performant way to… | by Miguel Machado | Better Programming Python and String Concatenation. What is the most performant way to… | by Miguel Machado | Better Programming](https://miro.medium.com/max/1200/1*Us61DdEP_fgcjktp_0dBdA.png)
Python and String Concatenation. What is the most performant way to… | by Miguel Machado | Better Programming
![High Java CPU usage due to string concatenation: String concat(+) vs. StringBuffer or StringBuilder append() - ManageEngine Blog High Java CPU usage due to string concatenation: String concat(+) vs. StringBuffer or StringBuilder append() - ManageEngine Blog](https://blogs.manageengine.com/image/501000000810752/java_cpu.png)
High Java CPU usage due to string concatenation: String concat(+) vs. StringBuffer or StringBuilder append() - ManageEngine Blog
![Java on Twitter: "String concatenation in #Java9 can improve the performance of your applications - @IoannisKolaxis https://t.co/zlUwPbW8HO https://t.co/eLM34Kuuzi" / Twitter Java on Twitter: "String concatenation in #Java9 can improve the performance of your applications - @IoannisKolaxis https://t.co/zlUwPbW8HO https://t.co/eLM34Kuuzi" / Twitter](https://pbs.twimg.com/media/DKyCI_AVAAAgE0Z.jpg)