rewrote php interpreter a bit