🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #230498

foreach

#230498
From: feldmarszałek tusk
Date: Fri, 08 Aug 2014 20:44
7 lines
1022 bytes
foreach ($tmp_array as &$t_a)
	$t_a['TMP'] = $L7DS['TMP'];

a w dalszej części są odwołania do $t_a...

czyżby to było jak w C, tablice przekazywane są jako wskaźnik i 
modyfikacja w pętli oznacza modyfikację "globalną"?
Technical Details
Message-ID: <ls3cs4$f6p$2@node2.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
From: feldmarszałek tusk <NOSPAM_testowanije@go2.pl>
Newsgroups: pl.comp.lang.php
Subject: foreach
Date: Fri, 08 Aug 2014 22:44:52 +0200
Organization: ATMAN - ATM S.A.
Lines: 7
Message-ID: <ls3cs4$f6p$2@node2.news.atman.pl>
NNTP-Posting-Host: pc-85-202-105-129.siedlce.domtel.com.pl
Mime-Version: 1.0
X-Trace: node2.news.atman.pl 1407530692 15577 85.202.105.129 (8 Aug 2014 20:44:52 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Fri, 8 Aug 2014 20:44:52 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit