-1

私はPHPを学ぼうとしていますが、配列に不正なキーがあるというこの問題に出くわしました。私はこの関数を持っています

public function pdf_read_root()
{   
    $this->root = $this->pdf_resolve_object( $this->c, $this->pdf_find_root());

}

しかし$this->root、間違った値を返しています。個々のコンテンツを取得して、$this->c & $this->pdf_find_root何が使用されているかを確認するにはどうすればよいですかpdf_resolve_object

4

1 に答える 1

3
public function pdf_read_root()
{   

    $this->root = $this->pdf_resolve_object( $this->c, $this->pdf_find_root());
    echo "<pre>";
    echo "<br> Value of member variable c is: ". print_r($this->c, true);
    echo "<br> Value of method pdf_find_root() is: ". print_r($this->pdf_find_root(),true);
    echo "<br> Value of member variable root is: ". print_r($this->root, true);
    echo "</pre>";

}
于 2012-08-24T05:59:54.013 に答える