Re: RFC: Property get/set syntax (added isset/unset and references)

From: Date: Tue, 24 Apr 2012 17:10:46 +0000
Subject: Re: RFC: Property get/set syntax (added isset/unset and references)
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-60286@lists.php.net to get a copy of this message
Hi! > would it be possible to add a second shorthand syntax to the complete > automatic implementation? > > Examples: > > class TimePeriod > { > public $Hours {}; > public property $Hours; > public $Hours {property}; > } How it is different from just public $Hours and why one would need this? -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#60286) next »