Re: Protected static props redeclared as public share value across classes

From: Date: Mon, 03 Mar 2008 15:56:29 +0000
Subject: Re: Protected static props redeclared as public share value across classes
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-35916@lists.php.net to get a copy of this message
On 26/02/2008, Robin Fernandes <rewbs.soal@gmail.com> wrote: > > On 28/01/2008, Marcus Boerger <helly@php.net> wrote: > > > > > > I checked it out in more detail and it is indeed broken as in it is not > > > consistent > > If possible, I'd like to revive this discussion. Patch included. :) For the record, with helly's agreement I committed the patch to 5_3 and HEAD - thanks helly! Ilia / others, How would you feel about me back porting this to 5_2? The purpose of the change is to make static property inheritance rules more consistent - both amongst themselves and compared to static method inheritance rules. The patch does introduce a small change in behaviour (the old behaviour is imho buggy). See previous posts in this thread for the details ( http://turl.ca/phhhf ) and here for an example: http://pastebin.ca/926106 . I know at least a couple of people would rather this fix be 5.3+ only. More opinions welcome! Cheers, Robin

« previous php.internals (#35916) next »