Re: [PHP-DEV] using $this-> implicitly inside same class

2006-02-24 Thread Xuefer
> > > I was thinking of something more like this: > > > class Connection { > declare (implicit_this_properties) { >// use $this-> implicitly within this class only >ini_set('this.use_implicit', ON); > >protected $link; >private $server, $username, $password, $db; } > >public fu

Re: [PHP-DEV] using $this-> implicitly inside same class

2006-02-24 Thread php
Thanks to Marcus and everyone else for their comments. I note the valid points you raised. Keith On Fri, 24 Feb 2006, Marcus Boerger wrote: > To: [EMAIL PROTECTED] > From: Marcus Boerger <[EMAIL PROTECTED]> > Subject: Re: [PHP-DEV] using $this-> implicitly inside same cl

Re: [PHP-DEV] using $this-> implicitly inside same class

2006-02-24 Thread Mike Lively
One of the things I have always really liked about php is that variable scope is always very explicit. You always know where a variable is coming from and you don't ever have to worry about where or not you are working with a variable in the right scope. If something like this were to ever creep i

Re: [PHP-DEV] using $this-> implicitly inside same class

2006-02-24 Thread Marcus Boerger
Hello php, Friday, February 24, 2006, 3:05:11 PM, you wrote: > Hi all. > I'm using php 5.1.2 compiled from source, with Apache 2.2.0 > and MySQL 5.0.18 on SuSE Linux 9.2 pro. > I really do not see the need to keep telling php I'm > refering to the properties and method of the class I'm > alr