note 22186 added to function.array
| From: | powerpnt at yucom dot DONT_SPAM dot be | Date: | Sun, 09 Jun 2002 20:35:36 +0000 |
| Subject: | note 22186 added to function.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31643@lists.php.net to get a copy of this message | ||
There's a little mistake in the class-example of xftp@yahoo.com.
In php you only use 1 dollar sign for a variable, this means
$a[0]->$test1 = 1;
should be:
$a[0]->test1 = 1;
Same thing for every other of the class variables references.
--
http://www.php.net/manual/en/function.array.php
http://master.php.net/manage/user-notes.php?action=edit+22186
http://master.php.net/manage/user-notes.php?action=delete+22186
http://master.php.net/manage/user-notes.php?action=reject+22186