문제

I'm debugging a php application via lynx (with -dump option) and I'm using a lot of debug variables. Unfortunatly, the output of var_dump is pretty messy, no matter if I dump it to the console or into a file. Is there any way to make it look better? I'm using bash.

도움이 되었습니까?

해결책

I prefer print_r over var_dump. I think that is the nicest you can get with PHP only.

다른 팁

Install/activate xdebug. It makes your var_dump() output much prettier.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top