Re: $this->$string[char] bug?

From: Date: Tue, 06 Jun 2000 08:32:40 +0000
Subject: Re: $this->$string[char] bug?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1122@lists.php.net to get a copy of this message
>I think I found a bug in PHP. You cannot access the invidual characters of a >string if it is a class member variable using the $this pointer. I was >unable to find a syntax that would >make it work. It does not seem to be documented anywhere. Example: Afaik you should only use ONE dollar sign, That's what I use anyhow. I.e: echo £this->str[0]; should work.

« previous php.general (#1122) next »