Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77804 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84929 invoked from network); 7 Oct 2014 16:13:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Oct 2014 16:13:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=florian@margaine.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=florian@margaine.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain margaine.com from 209.85.223.170 cause and error) X-PHP-List-Original-Sender: florian@margaine.com X-Host-Fingerprint: 209.85.223.170 mail-ie0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:57141] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 10/5B-30869-D0114345 for ; Tue, 07 Oct 2014 12:13:02 -0400 Received: by mail-ie0-f170.google.com with SMTP id rd18so5697696iec.15 for ; Tue, 07 Oct 2014 09:12:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=jODyjbbUkpTOMOogVJdMTa+v9gYWNj0y2cvcxnSvZ8k=; b=N/UFs9IHEx7xjncuIvezakeeX6/B3dHldGeYXao3iVQbm1k6lBD2yiJfP8KiDxI1jZ 6oWyXQ5ez5qLTD8fTQ/yoch2Vgp23MJf/fiCTQqvHKqAK1Ic9geGFlFcaNjJsrFysY7l HKDO3VuihYvslzxzIes2h45AWnMuepvfImCuKeo/dwujI0q+jvWcMSw8xdiWkTSt7aPw WvOZTIfaGJtQAGPc91zd4axCrTLMk129WJNh+WQk/1jhvvZ53yGhUJ8FYW+wS/H1IJos fqFpv5ags4s9Q7j+m4kzr4GBSvnZhwSlirX5sytgWc6u3lDYd3Va423BwYkKII3bGn+B P+6A== X-Gm-Message-State: ALoCoQndNGRljbYVGbXUNyoHqmaq6Rop7OxuhdNa3IVomkEtoqHkyPhIb6wF2vV9DGLMZ229PCl9 MIME-Version: 1.0 X-Received: by 10.50.66.133 with SMTP id f5mr33021938igt.38.1412698379183; Tue, 07 Oct 2014 09:12:59 -0700 (PDT) Received: by 10.107.25.133 with HTTP; Tue, 7 Oct 2014 09:12:59 -0700 (PDT) X-Originating-IP: [89.92.205.106] Received: by 10.107.25.133 with HTTP; Tue, 7 Oct 2014 09:12:59 -0700 (PDT) In-Reply-To: References: Date: Tue, 7 Oct 2014 18:12:59 +0200 Message-ID: To: Mathias Grimm Cc: PHP Internals Content-Type: multipart/alternative; boundary=047d7bdc0fae1149550504d7797b Subject: Re: [PHP-DEV] ArrayPath From: florian@margaine.com (Florian Margaine) --047d7bdc0fae1149550504d7797b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi! How is it better than: $idx3 =3D $_POST['idx1']['idx2']['idx3']; ? Regards, Florian Margaine Le 7 oct. 2014 18:05, "Mathias Grimm" a =C3=A9crit= : > Hi, > I would like to suggest something for php like a class I am using > > https://github.com/mathiasgrimm/arraypath > > The reason is to access arrays like this: > > $idx3 =3D ArrayPath::get('idx1/idx2/idx3', $_POST, 'myDefaultValue'); > > > Regards, > Mathias > --047d7bdc0fae1149550504d7797b--