concatenating and efficiency

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Guy
Forum Commoner
Posts: 53
Joined: Sun Jan 12, 2003 3:34 am

concatenating and efficiency

Post by Guy »

is there an efficiency difference between concatenating

Code: Select all

<?php
$str = $str . "text"; 
?>
and

Code: Select all

<?php
$str .= "text"
?>
Guy
Post Reply