Notice: Array to string conversion in ***
への対処法をご教示ください。
php
1class sample { 2 private $param = array(); 3 public function setParam($param){ 4 $this->param = $param; //Notice: Array to string conversion in... 5 } 6} 7 8$param = array("a", "b"); 9$sample = new sample(); 10$sample->setParam($param);
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。