-1

I am trying to learn PHP and stumbled across this problem of having bad keys in my array i have this function

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

}

but $this->root is returning the wrong values, how do i get the individual contents, $this->c & $this->pdf_find_root to see what is being used in 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 回答