🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: array_fill

#230585
From: artiun
Date: Fri, 31 Oct 2014 23:22
18 lines
2420 bytes
W dniu 2014-10-29 o 18:47, Rafal Podsiadly pisze:

> Aby sprawdzić tablice używaj var_dump($tablica);
Ok.
> http://php.net/manual/en/function.array-fill.php
> z tego co tutaj pisza to fill tworzy od podanego indexu, sprawdz czy w którymś momęcie nie dodajesz do tablicy czegoś $tablica[] = 1;
PHP (chyba,że coś się zmieniło) nie ma deklaracji, takie coś nie jest 
możliwe: $tablica[] = 1;
ładne, piękne, ale trzeba wiedzieć co się wypełnia. Nie chcę tu, teraz 
powiedzieć jakie j. to umożliwiają. Bo jest taka możliwość (nawet w C bym to 
zrobił, wymagana jest jednak deklaracja tablicy) :)))) Zauważ, że się nie 
kłócę, zwracam jedynie uwagę.


-- 
Artur
0 weeks 1 day 19 hours 29 minutes 20 seconds and 59 milliseconds.
"pl.comp.lang.php"
Technical Details
Message-ID: <54541b4f$0$18072$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <lvff6c$2tj$1@node2.news.atman.pl> <541B4192.7060605@ila.nie.ma> <541b5f5e$0$2371$65785112@news.neostrada.pl> <lvgtlu$eot$1@node2.news.atman.pl> <lvhoab$p24$1@node1.news.atman.pl> <ebfcc7d2-fc05-4977-9134-f2e8f552468f@googlegroups.com>

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!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Date: Sat, 01 Nov 2014 00:22:57 +0100
From: artiun <artiun@spam.wp.pl>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; pl-PL; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.0
MIME-Version: 1.0
Newsgroups: pl.comp.lang.php
Subject: Re: array_fill
References: <lvff6c$2tj$1@node2.news.atman.pl> <541B4192.7060605@ila.nie.ma> <541b5f5e$0$2371$65785112@news.neostrada.pl> <lvgtlu$eot$1@node2.news.atman.pl> <lvhoab$p24$1@node1.news.atman.pl> <ebfcc7d2-fc05-4977-9134-f2e8f552468f@googlegroups.com>
In-Reply-To: <ebfcc7d2-fc05-4977-9134-f2e8f552468f@googlegroups.com>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAAFXRFWHRDcmVhdGlvbiBUaW1l AAfVBwEUExQxoOF6AAAAB3RJTUUH1QcBFCMjg1qR9gAAAAlwSFlzAAAK8AAACvABQqw0mAAAAAZQ TFRFAAAA////pdmf3QAAAHZJREFUeNpj+A8GDFSjHoOpf8xg6oA8iPrHAJb7wQ+mPtSDqYcQDc+f I1MPW/hB1AMGMPWDGSTY+F+ujvk/QwOjAQ8DP8MBBgEWBkaGj//kVP6z43AEM4QCGtIPpBoYGOfU M/x//IFxDkTJHghVC6F+U9HvQAAATjr8CsUXDxIAAAAASUVORK5CYII=
X-Antivirus: avast! (VPS 141031-1, 2014-10-31), Outbound message
X-Antivirus-Status: Clean
Lines: 18
Message-ID: <54541b4f$0$18072$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 83.29.193.210
X-Trace: 1414798159 unt-rea-a-01.news.neostrada.pl 18072 83.29.193.210:4712
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit