fixed php issue
fixed #38 php issue
Merge branch 'issue-38'