Article View: pl.comp.lang.php
Article #317Re: Niedoróbki PHP na tle Perla
From: Aleksander Piotrowski
Date: Mon, 20 Aug 2001 10:09
Date: Mon, 20 Aug 2001 10:09
17 lines
1212 bytes
1212 bytes
On Mon, 20 Aug 2001 10:21:21 +0200, JZ <programmer@[3585753410.cut]> wrote:
> Perl bez problemu sparsuje zmienne w napisie "To jest $arr[0][1] a to
> jest $hasz{kucz}". Zas dla PHP trzeba to rozdzielac, nie da sie
> wsadzic wszystko w jeden string.
jestes pewien?
<?php
$tablica[0] = 'kasia';
print "aaaaaa{$tablica[0]}aaaaa";
?>
tylko sie nie czepiaj, ze trzeba dostawiac klamry ;p
alek
Technical Details
Message-ID:
<slrn9o1ok1.qb6.alek@piestrak.waw.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!news.tpi.pl!not-for-mailReferences:
<ech1ot8cu9krb23a8le9r8e7va41nes3io@4ax.com>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.icm.edu.pl!news.tpi.pl!not-for-mail From: alek@piestrak.waw.pl (Aleksander Piotrowski) Newsgroups: pl.comp.lang.php Subject: Re: Niedoróbki PHP na tle Perla Date: 20 Aug 2001 10:09:26 GMT Organization: tp.internet - http://www.tpi.pl Lines: 17 Message-ID: <slrn9o1ok1.qb6.alek@piestrak.waw.pl> References: <ech1ot8cu9krb23a8le9r8e7va41nes3io@4ax.com> NNTP-Posting-Host: pr133.warszawa.sdi.tpnet.pl X-Trace: news.tpi.pl 998302166 2491 213.25.54.133 (20 Aug 2001 10:09:26 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: 20 Aug 2001 10:09:26 GMT User-Agent: slrn/0.9.7.1 (OpenBSD) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit