Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37823 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26362 invoked from network); 23 May 2008 13:35:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2008 13:35:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=rapscena@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rapscena@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.200.174 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rapscena@gmail.com X-Host-Fingerprint: 209.85.200.174 wf-out-1314.google.com Received: from [209.85.200.174] ([209.85.200.174:44516] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/8C-35754-E38C6384 for ; Fri, 23 May 2008 09:35:58 -0400 Received: by wf-out-1314.google.com with SMTP id 26so502152wfd.26 for ; Fri, 23 May 2008 06:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=P48upThyiv5nOTm7TJ/61bbu2ALAccRtmwtXqbGzJ6I=; b=qYFEMbYaJSThTx/NcQOgF3OHXI/KIa3ut1DykQR6YTYd8ENO0PEH/6cHqir02AIQNDNJAkpLpRTl29mVvmIX1+Bro0+wHruUotNvfuQpdwAGKY438QjCf9fquZeu92Khu1d0zKo7z66lilOETaPH3Ht3bOKdfBV/Wskt0otBwLE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=xnHw9LiW0rl/NJlOlQU8VgWEvxqTGbpDATOnPKuyX+7eljsCY174Ic2+jCG7j+mKQaGADXDJcg0/TuqV6fAtabWrZxawWmY7A2uW6EfD4uFpj0u49GOF41U1ua5HxO0fkglBtsY7deAfRIfEH0SwiItaiiMwAcevfE3SfUNmkx8= Received: by 10.142.252.11 with SMTP id z11mr314624wfh.232.1211549755945; Fri, 23 May 2008 06:35:55 -0700 (PDT) Received: by 10.142.155.5 with HTTP; Fri, 23 May 2008 06:35:55 -0700 (PDT) Message-ID: Date: Fri, 23 May 2008 15:35:55 +0200 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15411_7054761.1211549755947" Subject: PHP6 new syntax use suggestion From: rapscena@gmail.com ("Astro [GTalk]") ------=_Part_15411_7054761.1211549755947 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I have a suggestion for upcoming PHP6 as it's a major version change. I suggest a possibility to use this (example): $host = parse_url('http://someurl.com')['host']; instead of $host = parse_url('http://someurl.com'); $host = $host['host']; Now it returns a syntax error. Have a nice day, A ------=_Part_15411_7054761.1211549755947--