note 8831 added to Strings
| From: | mogensmc at imada dot sdu dot dk | Date: | Fri, 29 Sep 2000 23:12:04 +0000 |
| Subject: | note 8831 added to Strings | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5684@lists.php.net to get a copy of this message | ||
The foo-bar example gave me:
"I am printing some Foo. Now, I am printing some Array[1]."
This is probably due to the old php version my university department uses, and is worked around
using concatenation as mentioned in the later pages on arrays:
echo("\$foo->bar[1]: \"" . $foo->bar[1] . "\"\n<p>");
(the "<<<" operator won't work either, which is why I'm using echo)
http://www.php.net/manual/language.types.string.php