Re: Changes to SuperGlobals for PHP 8 (was: something about session_start...)

From: Date: Sat, 29 Jul 2017 14:14:51 +0000
Subject: Re: Changes to SuperGlobals for PHP 8 (was: something about session_start...)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-100102@lists.php.net to get a copy of this message
> On Jul 29, 2017, at 05:27, Dan Ackroyd <danack@basereality.com> wrote: > > 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. -- 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

« previous php.internals (#100102) next »