However, I don't see any other way of removing an element, that's in the
middle of an array...
K.
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
]
Sent: Monday, July 21, 2003 8:49 PM
Subject: Re: [PHP-DOC] clearing the
behaviour of unset()
Hallo liebe
Studierende und Fachschaftsaktive,
alle Halbjahre
wieder ..
Wir vom Büro
für Internationale Angelegenheiten planen gerade wieder die
Einführungsveranstaltung
Hallo liebe Studierende und Fachschaftsaktive,
alle Halbjahre wieder ..
Wir vom Büro für Internationale
Angelegenheiten planen gerade wieder
die Einführungsveranstaltung - genannt Orientation Seminar - für alle
neuen internationalen Studierenden zum Wintersemester 2003.
Der Termi
You are passing an array of scalars *by reference* not
by value, so this is the expected behavior because you
are unsetting one item in the array, not the whole
array. Perhaps that should be clarified. It is not
ambiguous in the text when you unset a scalar variable
(see the example there).
A clar
hi,
I experimented a little with unset() and found out the following behaviour which on
the first look seems to be contrary to what is mentioned in the docs:
both var_dump()s will output an array with only two fields (0 and 2) and not one with
two and one with three fields like you should think