note 104870 deleted from keyword.class by danbrown
| From: | danbrown@php.net | Date: | Wed, 13 Jul 2011 17:02:58 +0000 |
| Subject: | note 104870 deleted from keyword.class by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181476@lists.php.net to get a copy of this message | ||
Note Submitter: Anthony McCuen
----
I wasn't taught correctly in my school, but, can you use the class with the ($) sign, after the
class is made? Like this (probably incorrect):
<?php
class foo {
echo "Hello World.";
}
?>
and then
<?php
echo $foo;
?>
Or must it be another way? Reply with full (valid) script.
Please.
Thank you, < my name at the top >