digitalnature / php-ref

A better alternative to print_r / var_dump
347 stars 59 forks source link

script crashes #24

Open sil2 opened 10 years ago

sil2 commented 10 years ago

For some reason all my php scripts who has r() or rt() crashes. I see 2-3 r() outputs before crash, but no error messages, scripts just stops. if I change r() function to just

function r(){ $args = func_get_args(); print_r($args); return false;

everything works.

I dont know why I see no any errors, on local it works but on my server it crashes. But, anyway, I should see error messages no?

It doesnt looks like javascript related because rt() giving same issue. It can be momry leak, but I have my error handler and can see all critical issues.

digitalnature commented 10 years ago

Did you check all error logs?

sil2 commented 10 years ago

well.... only shows like:

[Mon Oct 06 16:36:26 2014] [notice] child pid 4300 exit signal Segmentation fault (11)

but without calling r() there is no issues.

Any idea?