PHP variable defining syntax help
Posted: Mon Jul 27, 2009 6:09 am
Hi to all
,
hope every one is fine.Can any one tell me when we declare variable like this
var $ob_Status = "<pre>";
$ob_Status is a variable but what is var and did "<pre>" has a special meaning in PHP or its just a constant here
Also what is mean by underscore when we define variable like this
$Host_ , $Out_ , $Line_
and
$_Server, $_Port , $_State
please explain this statement that what its mean,how its work
var $ob_Data = array(array ( null, "HELO : \$_Host", 250) // 0
,array ( 4, "AUTH LOGIN", 334) // 1
,array ( null, "\$_Login", 334) // 2
Thanks in advance
hope every one is fine.Can any one tell me when we declare variable like this
var $ob_Status = "<pre>";
$ob_Status is a variable but what is var and did "<pre>" has a special meaning in PHP or its just a constant here
Also what is mean by underscore when we define variable like this
$Host_ , $Out_ , $Line_
and
$_Server, $_Port , $_State
please explain this statement that what its mean,how its work
var $ob_Data = array(array ( null, "HELO : \$_Host", 250) // 0
,array ( 4, "AUTH LOGIN", 334) // 1
,array ( null, "\$_Login", 334) // 2
Thanks in advance