What would cause a print_r and/or a var_dump to fail debugging a variable?

前端 未结 2 614
日久生厌
日久生厌 2020-12-17 03:13

I\'m attempting to debug the PayPal review process in Magento. Every time I try to dump the following variable I get a white page:

//the variable declaration         


        
2条回答
  •  有刺的猬
    2020-12-17 03:36

    A PHP parse and fatal error would produce this. You may want to have a look at your error log.

    You could try adding the following lines to the beginning of your php files (just after the opening PHP tag "

    ini_set('display_errors',1);
    error_reporting(E_ALL);
    

提交回复
热议问题