fix memory errors
Merge branch 'master' of https://github.com/krakjoe/phpdbg