frak / php_spi

An OO PHP interface to SPI devices developed for use on the Raspberry Pi
Other
17 stars 7 forks source link

Addressed a few memory leaks. #4

Closed primerpop closed 8 years ago

primerpop commented 8 years ago

Meddling the in PHP API is new to me, and by all means review, but the diffed changes seem to contain the memory leak and code has been running for a week now without swelling more than a byte after entering a state loop.

frak commented 8 years ago

Fantastic, thank you for your effort :)

HelioFilipe commented 7 years ago

Thanks for this library! It works OK on PHP 5 but fails to load on PHP 7. Anyone has a solution to that ?