Fixed PHP vars being deleted during wrap
Merge pull request #147 from freejosh/develop

Fixed PHP vars being deleted during wrap