note 104870 added to keyword.class

From: Date: Tue, 12 Jul 2011 21:15:41 +0000
Subject: note 104870 added to keyword.class
Groups: php.notes 
Request: Send a blank email to php-notes+get-181446@lists.php.net to get a copy of this message
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 > ---- Server IP: 69.147.83.197 Probable Submitter: 68.37.231.191 ---- Manual Page -- http://www.php.net/manual/en/keyword.class.php Edit -- https://master.php.net/note/edit/104870 Del: integrated -- https://master.php.net/note/delete/104870/integrated Del: useless -- https://master.php.net/note/delete/104870/useless Del: bad code -- https://master.php.net/note/delete/104870/bad+code Del: spam -- https://master.php.net/note/delete/104870/spam Del: non-english -- https://master.php.net/note/delete/104870/non-english Del: in docs -- https://master.php.net/note/delete/104870/in+docs Del: other reasons-- https://master.php.net/note/delete/104870 Reject -- https://master.php.net/note/reject/104870 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#181446) next »