multiple small fixes in PHP wrapper
Merge remote-tracking branch 'origin/development' into development