note 13383 added to language.oop.php

From: Date: Wed, 13 Jun 2001 23:35:03 +0000
Subject: note 13383 added to language.oop.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14339@lists.php.net to get a copy of this message
I noticed that the following will not work within a class: echo "Name: $this->foo[1]"; Instead you must use the print() function: print ( "Name: " . $this->foo[1] ); The former will work with non-arrays. http://www.php.net/manual/en/language.oop.php

« previous php.notes (#14339) next »