[development] += on arrays

Karoly Negyesi karoly at negyesi.net
Tue Jan 17 12:10:23 UTC 2006

On Tue, 17 Jan 2006 13:06:14 +0100, vlado <vlado at dikini.net> wrote:

>> > "In addition to the basic assignment operator, there are "combined
>> > operators" for all of the binary arithmetic and string operators that
>> Array is neither binary nor string. The relevant page is
>> http://www.php.net/manual/en/language.operators.array.php imo.
> partially true - binary here means 2 arguments. Array is a built in type
> and has a similar treatment to integer, string, ....

"binary arithmetic" means binary arithmetic, for example shift. Not "two  
operands arithmetic" IMO.

> It is fair to say that the manual page should be explicit, rather that
> use deductions, but hey, nobody's perfect.

I filed a docs bugs on bugs.php.net.

More information about the development mailing list