🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: co denerwuje w PHP?

#232475
From: Borys Pogoreło
Date: Wed, 14 Aug 2019 11:56
14 lines
1365 bytes
Dnia Tue, 13 Aug 2019 18:21:29 +0200, PawelS pawel(at)wbcd(dot)pl
napisał(a):

> $DATA=explode('<separator-one-char>', $data);
> $DATA=array_flip($DATA);
> parametry teraz będą indeksami tablicy,
> a pierwszy z listy parametr będzie miał wartość 0.

Nie prościej po prostu zserializować JSON? Taki sposób zapisu wnosi więcej
problemów, niż rozwiązuje.

-- 
Borys Pogoreło
borys(#)leszno,edu,pl
Technical Details
Message-ID: <68dhtr8mod68.16egs80m6wimx$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.promontel.net.pl!not-for-mail
References: <qi47f0$1rt1m$1@portraits.wsisiz.edu.pl> <qi7dge$e8c$1@news.icm.edu.pl> <5d505d3a$0$511$65785112@news.neostrada.pl> <f7e43j0t23sx$.tecxkipeqlli.dlg@40tude.net> <5d52e38d$0$500$65785112@news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.promontel.net.pl!not-for-mail
From: Borys Pogoreło <borys@pl.edu.leszno>
Newsgroups: pl.comp.lang.php
Subject: Re: co denerwuje w PHP?
Date: Wed, 14 Aug 2019 13:56:53 +0200
Organization: snafu
Lines: 14
Message-ID: <68dhtr8mod68.16egs80m6wimx$.dlg@40tude.net>
References: <qi47f0$1rt1m$1@portraits.wsisiz.edu.pl> <qi7dge$e8c$1@news.icm.edu.pl> <5d505d3a$0$511$65785112@news.neostrada.pl> <f7e43j0t23sx$.tecxkipeqlli.dlg@40tude.net> <5d52e38d$0$500$65785112@news.neostrada.pl>
NNTP-Posting-Host: public-gprs219038.centertel.pl
Mime-Version: 1.0
X-Trace: thunar.promontel.net.pl 1565783797 30873 31.60.2.223 (14 Aug 2019 11:56:37 GMT)
X-Complaints-To: abuse@promontel.net.pl
NNTP-Posting-Date: Wed, 14 Aug 2019 11:56:37 +0000 (UTC)
User-Agent: 40tude_Dialog/2.0.14.1pl
X-fnord: obey.
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit