PHP property exists()

1 개요[ | ]

PHP property_exists()
class Dog {
  public $name;
}
$myDog = new Dog();
if(property_exists($myDog, "name")) echo "name exists";
// name exists

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}