Update PHP API - Make more robust and add first test case
Update comment
Merge branch 'release/v1.3.0'