|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2002-11-15 10:48 UTC] iliaa@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Wed Oct 22 16:00:01 2025 UTC | 
Hi! I have the following code: $a_data = array("a","b","c"); $s_data = ""; foreach($a_data as $data){ $s_data += $data; } echo $s_data; I was trying to make $s_data contain "abc" but instead I get a 0. It seems that += cube of types returns an int ignoring that the user is trying to concat an string.