note 57924 added to language.variables.scope
| From: | php-general at lists dot php dot net | Date: | Wed, 19 Oct 2005 09:57:00 +0000 |
| Subject: | note 57924 added to language.variables.scope | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-97218@lists.php.net to get a copy of this message | ||
Hi :
first of all thank you very much
You have to know that I am learning php and I am at the beginnig stage.
I have question:
how I can print the (reach the velur of the $att ) inside the function ?
in other world how I can get(use) the valur of the :::: var ::: variable inside the function :
alot of thanks
"beshoo"
class sh{
var $att;
function x()
{
$fft=800;
$this->att=$fft;
echo"$fft";
}
}
$x=new sh();
----
Manual Page -- http://www.php.net/manual/en/language.variables.scope.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57924
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57924&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57924&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57924&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57924&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57924&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57924&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57924&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57924&report=yes
Search -- http://master.php.net/manage/user-notes.php