🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: return TABLICA

#485
From: [sis]
Date: Tue, 21 Aug 2001 14:22
27 lines
1531 bytes
> Dopiero zaczynam poznawac PHP i mam problem
> jest sobie funkcja

zmien nazwe funkcji na inna. cos juz istnieje dla kosinusa. :>

> function cos () {
> $i=0;
> while ($i<=10) { <== brakowalo tego
// [cut]
>  }
>     return $tmp;
> }

> $wynik=cos();
> dlaczego wynik jest pusty ?
> nier zwraca mi tej tablicy

u mnie od razu pokazuje ze nie moze powtornie zadeklarowac funkcji.

pozdrawiam,
Kamil

--
::''::./: dEsIgn iNSPiraTioN  ..::':..::.:'::...:.>>>....
:: Kazdy z nas, gdzies gleboko w srodku jest dzieckiem ::
:: Kamil sisqo(at)board.pl    -    http://3575206806/  ::
::,:::::,:::::::::::::::::,:::,:::,:::::::::::::::::::,::
Technical Details
Message-ID: <9ltr0n$87o$1@news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news.task.gda.pl!news.tpi.pl!not-for-mail
References: <3b825e99@news.vogel.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news.task.gda.pl!news.tpi.pl!not-for-mail
From: "[sis]" <sisqo@board.pl>
Newsgroups: pl.comp.lang.php
Subject: Re: return TABLICA
Date: Tue, 21 Aug 2001 16:22:06 +0200
Organization: tp.internet - http://www.tpi.pl
Lines: 30
Message-ID: <9ltr0n$87o$1@news.tpi.pl>
References: <3b825e99@news.vogel.pl>
NNTP-Posting-Host: pa206.katowice.cvx.ppp.tpnet.pl
X-Trace: news.tpi.pl 998403927 8440 213.76.8.206 (21 Aug 2001 14:25:27 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: 21 Aug 2001 14:25:27 GMT
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit