Update php/API.php

Fixed examples syntax