Re: [PHP-DEV] Request Feedback for Instance Variable Sugar RFC

2015-03-09 Thread Shawn McCool
ith it? > > -- > Mike Dugan > m...@dugan.io > http://dugan.io > > On March 9, 2015 at 9:51:20 AM, Shawn McCool (sh...@heybigname.com) wrote: > > Sure, they should be separated into two equally impossible to pass RFCs. > However, do you see a reasonable alternative way

Re: [PHP-DEV] Request Feedback for Instance Variable Sugar RFC

2015-03-09 Thread Shawn McCool
idea how the community would feel about it, but that might be a feasible > approach to getting rid of $this-> > > -- > Mike Dugan > m...@dugan.io > http://dugan.io > > On March 9, 2015 at 10:00:03 AM, Shawn McCool (sh...@heybigname.com) > wrote: > > There&#x

Re: [PHP-DEV] Request Feedback for Instance Variable Sugar RFC

2015-03-09 Thread Shawn McCool
not be repurposed for anything, > it has too much legacy imho. > > While a shortcut might be a good idea, I personally favour the $this->var > syntax just for muscle memory if nothing else. > > Stelian > > On Mon, Mar 9, 2015 at 11:54 AM, reeze wrote: > > > Hi, &

[PHP-DEV] Request Feedback for Instance Variable Sugar RFC

2015-03-09 Thread Shawn McCool
posed PHP Version(s) = This is proposed for the next PHP x, currently PHP 7. -- Shawn McCool | Big Name sh...@heybigname.com heybigname.com

[PHP-DEV] Type hinting return values

2008-10-07 Thread Shawn McCool
Hi all, I've submitted this suggestion once before, but it was quickly shunned with two generic answers: "It's not the PHP way" and "It all boils down to documentation. That's what PHPDoc is for." Both of those are partially correct, but I feel the benefits and other uses certainly make a bett