sync php-src with upstream and incorporate PR280 for cli_set_process_title
format.php: update to current API version