Thread Array Derefenzieren (6 answers)
Opened by Enana at 2015-06-06 00:00

Raubtier
 2015-06-06 11:22
#181268 #181268
User since
2012-05-04
1056 Artikel
BenutzerIn

user image
Hallo Topeg,

du hast zwar prinzipiell recht, dass wegen des "my" immer neue Referenzen erzeugt und gespeichert werden, jedoch:

Quote
Note that the same array reference is returned for each fetch, so don't store the reference and then use it after a later fetch. Also, the elements
of the array are also reused for each row, so take care if you want to take a reference to an element. See also "bind_columns".


Das macht es wieder zunichte.

View full thread Array Derefenzieren