누군가는 PHP 클래스선언
Class name
{
Public: <----- this bit
string variable;
int another;
bool athird;
}
에 해당이있는 경우 나에게 설명하거나
Class name
{
public $variable;
public $another;
public $athird;
}
감사로 PHP에서 공용 변수를 선언해야 할 수 어떤 도움이든 당신
연구를 수행 했습니까? [예. OOP에서 PHP 문서 읽기?] (http://php.net/manual/en/language.oop5.basic.php) –
중복 된 http://stackoverflow.com/questions/1981375/setting-public-class- 변수 –
PHP 문서를 읽고 직접 찾으십시오. –