Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100102 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48177 invoked from network); 29 Jul 2017 14:14:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jul 2017 14:14:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=pmjones88@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pmjones88@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.175 as permitted sender) X-PHP-List-Original-Sender: pmjones88@gmail.com X-Host-Fingerprint: 209.85.223.175 mail-io0-f175.google.com Received: from [209.85.223.175] ([209.85.223.175:37707] helo=mail-io0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 16/9D-40376-1689C795 for ; Sat, 29 Jul 2017 10:14:58 -0400 Received: by mail-io0-f175.google.com with SMTP id c74so98238562iod.4 for ; Sat, 29 Jul 2017 07:14:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Lfj5fxkyJgTDQaRktZbLMVtuSAaXMkWhcqIHF2zYKhI=; b=EvY76DPfoKtRFIkSmYshRduHiugvjBx7xujCHfKfrN6dkFd48U8nl4WfHtKEjT+0Gy b/w171vRVgbRAuqxq/99NxCyZmZ1LdNaGKir8+Km6iiy/lJAOKA3Mx52Ce++VjC89xjX 9i1xG52NwoVZ35vdbde+TdcQWhgpRz1nMGCvRePtJ9VWPBLSJvZuXlqXLcF6aekPRtY4 3pXzP1zw6IYVmsM5jmz7Y/jeDmNAIJsMqfSqct9dUcPqNT6EhF5nFpggAiD14IQTXGGM aTZxeUMNw5t+GgY96imIDIDfB3V6rGJUMMfYlBRgZZBFqM7iy/IC5e7Hq6Rv4pQY9uM0 22RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Lfj5fxkyJgTDQaRktZbLMVtuSAaXMkWhcqIHF2zYKhI=; b=sFZ30WBca3kiUUGA3X3wcl/6fs0Ii+8SL0kKtbsjf+Thq8+5K7gDeURnlPcAazpj25 xSu6F/4D5I+Pts+WcVlWbJfzaS6xffMaDUROobDsLNZhj9Un+RIh7TN1T4C9iN8KBZWC rmJzUCqCWNeztYT045zFtijfha/mqwWV5ToDbpOkX5NntmEmaAFMmiHC0Rt+o/SVQqXh 56e5FJjKJ9gshjhxQjL97/8kbTFeE8oYJeXMS4e/GXLwbFhJ8JF1w4hQN1X4p+NbDQn8 DY+qsz8LntnZvZtVpW76zYx//R5T+ngOPRNl4OLjGROmYSf3LOtcKjKnLjbnkQ4YWCwo MKMA== X-Gm-Message-State: AIVw110ZTSLMgJHaoQ7KMosaThjBe4inZaTR3P8OagfPQKHFrRlGQk4q WqmMi8fEtbaR1Q== X-Received: by 10.107.27.74 with SMTP id b71mr13042640iob.241.1501337694984; Sat, 29 Jul 2017 07:14:54 -0700 (PDT) Received: from [192.168.1.88] (107-223-28-39.lightspeed.nsvltn.sbcglobal.net. [107.223.28.39]) by smtp.gmail.com with ESMTPSA id 71sm9447806itm.41.2017.07.29.07.14.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Jul 2017 07:14:54 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) In-Reply-To: Date: Sat, 29 Jul 2017 09:14:51 -0500 Cc: Sara Golemon , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Dan Ackroyd X-Mailer: Apple Mail (2.3273) Subject: Re: [PHP-DEV] Changes to SuperGlobals for PHP 8 (was: something about session_start...) From: pmjones88@gmail.com (Paul Jones) > On Jul 29, 2017, at 05:27, Dan Ackroyd wrote: >=20 > Designing classes/interfaces to be correct the first time is a really > difficult thing to do, and then maintaining classes/interfaces is hard > as any change to a method is a BC break. Having done it several times before in userland helps. Presenting the = superglobals as read-only properties does the trick for the `request` = extension; it's even simpler than using methods. --=20 Paul M. Jones pmjones88@gmail.com http://paul-m-jones.com Modernizing Legacy Applications in PHP https://leanpub.com/mlaphp Solving the N+1 Problem in PHP https://leanpub.com/sn1php