Are php strings immutable? -


Or: should I optimize my string operation in PHP? I tried to ask about the PHP manual, but I could not find anything.

PHP already optimizes it - variable is assigned, and passed by object reference Are done. This is not true in PHP 4 , but no one should use PHP 4 for the new code.


Comments