arnaud-lb / php-memory-profiler

Memory profiler for PHP. Helps finding memory leaks in PHP scripts.
MIT License
858 stars 51 forks source link

Allow output_format to be defined from ini setting #97

Closed gaelreyrol closed 9 months ago

gaelreyrol commented 9 months ago

Hi @arnaud-lb,

I have not written C since a long time, I expect my code to not be as clean as it should.

I have one concern, I think the output_format should be validated before calling memprof_zend_error_cb_dump.

Looking forward your feedback :slightly_smiling_face:

arnaud-lb commented 9 months ago

Thank you!