From: Gabriel Caruso Date: Fri, 23 Feb 2018 23:40:31 +0000 (-0300) Subject: [ci skip] Remove space between function name and open parentheses X-Git-Tag: php-7.3.0alpha1~303 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f54f48024783df739dd5bbec64cb74063fefa06;p=php [ci skip] Remove space between function name and open parentheses --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 30b91e4c6e..a7e06603d4 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -4088,7 +4088,7 @@ PHP_FUNCTION(image2wbmp) /* }}} */ #if defined(HAVE_GD_JPG) -/* {{{ proto bool jpeg2wbmp (string f_org, string f_dest, int d_height, int d_width, int threshold) +/* {{{ proto bool jpeg2wbmp(string f_org, string f_dest, int d_height, int d_width, int threshold) Convert JPEG image to WBMP image */ PHP_FUNCTION(jpeg2wbmp) { @@ -4098,7 +4098,7 @@ PHP_FUNCTION(jpeg2wbmp) #endif #if defined(HAVE_GD_PNG) -/* {{{ proto bool png2wbmp (string f_org, string f_dest, int d_height, int d_width, int threshold) +/* {{{ proto bool png2wbmp(string f_org, string f_dest, int d_height, int d_width, int threshold) Convert PNG image to WBMP image */ PHP_FUNCTION(png2wbmp) { diff --git a/ext/gettext/gettext.c b/ext/gettext/gettext.c index d693e6d8c1..d6b0f08986 100644 --- a/ext/gettext/gettext.c +++ b/ext/gettext/gettext.c @@ -355,7 +355,7 @@ PHP_NAMED_FUNCTION(zif_dcngettext) #if HAVE_BIND_TEXTDOMAIN_CODESET -/* {{{ proto string bind_textdomain_codeset (string domain, string codeset) +/* {{{ proto string bind_textdomain_codeset(string domain, string codeset) Specify the character encoding in which the messages from the DOMAIN message catalog will be returned. */ PHP_NAMED_FUNCTION(zif_bind_textdomain_codeset) { diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index 28071841ec..2bcbe2846e 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -1181,7 +1181,7 @@ static void php_add_field_properties(zval *value, const MYSQL_FIELD *field) } /* }}} */ -/* {{{ proto mixed mysqli_fetch_field (object result) +/* {{{ proto mixed mysqli_fetch_field(object result) Get column information from a result and return as an object */ PHP_FUNCTION(mysqli_fetch_field) { @@ -1204,7 +1204,7 @@ PHP_FUNCTION(mysqli_fetch_field) } /* }}} */ -/* {{{ proto mixed mysqli_fetch_fields (object result) +/* {{{ proto mixed mysqli_fetch_fields(object result) Return array of objects containing field meta-data */ PHP_FUNCTION(mysqli_fetch_fields) { @@ -1234,7 +1234,7 @@ PHP_FUNCTION(mysqli_fetch_fields) } /* }}} */ -/* {{{ proto mixed mysqli_fetch_field_direct (object result, int offset) +/* {{{ proto mixed mysqli_fetch_field_direct(object result, int offset) Fetch meta-data for a single field */ PHP_FUNCTION(mysqli_fetch_field_direct) { @@ -1263,7 +1263,7 @@ PHP_FUNCTION(mysqli_fetch_field_direct) } /* }}} */ -/* {{{ proto mixed mysqli_fetch_lengths (object result) +/* {{{ proto mixed mysqli_fetch_lengths(object result) Get the length of each output in a result */ PHP_FUNCTION(mysqli_fetch_lengths) { @@ -1295,7 +1295,7 @@ PHP_FUNCTION(mysqli_fetch_lengths) } /* }}} */ -/* {{{ proto array mysqli_fetch_row (object result) +/* {{{ proto array mysqli_fetch_row(object result) Get a result row as an enumerated array */ PHP_FUNCTION(mysqli_fetch_row) { @@ -1396,7 +1396,7 @@ PHP_FUNCTION(mysqli_get_client_version) } /* }}} */ -/* {{{ proto string mysqli_get_host_info (object link) +/* {{{ proto string mysqli_get_host_info(object link) Get MySQL host info */ PHP_FUNCTION(mysqli_get_host_info) { @@ -2669,7 +2669,7 @@ PHP_FUNCTION(mysqli_use_result) } /* }}} */ -/* {{{ proto int mysqli_warning_count (object link) +/* {{{ proto int mysqli_warning_count(object link) Return number of warnings from the last query for the given link */ PHP_FUNCTION(mysqli_warning_count) { diff --git a/ext/mysqli/mysqli_nonapi.c b/ext/mysqli/mysqli_nonapi.c index 6c401843b9..3de335cf2c 100644 --- a/ext/mysqli/mysqli_nonapi.c +++ b/ext/mysqli/mysqli_nonapi.c @@ -336,7 +336,7 @@ PHP_FUNCTION(mysqli_connect_error) } /* }}} */ -/* {{{ proto mixed mysqli_fetch_array (object result [,int resulttype]) +/* {{{ proto mixed mysqli_fetch_array(object result [,int resulttype]) Fetch a result row as an associative array, a numeric array, or both */ PHP_FUNCTION(mysqli_fetch_array) { @@ -344,7 +344,7 @@ PHP_FUNCTION(mysqli_fetch_array) } /* }}} */ -/* {{{ proto mixed mysqli_fetch_assoc (object result) +/* {{{ proto mixed mysqli_fetch_assoc(object result) Fetch a result row as an associative array */ PHP_FUNCTION(mysqli_fetch_assoc) { @@ -352,7 +352,7 @@ PHP_FUNCTION(mysqli_fetch_assoc) } /* }}} */ -/* {{{ proto mixed mysqli_fetch_all (object result [,int resulttype]) +/* {{{ proto mixed mysqli_fetch_all(object result [,int resulttype]) Fetches all result rows as an associative array, a numeric array, or both */ #if defined(MYSQLI_USE_MYSQLND) PHP_FUNCTION(mysqli_fetch_all) @@ -405,7 +405,7 @@ PHP_FUNCTION(mysqli_get_connection_stats) #endif /* }}} */ -/* {{{ proto mixed mysqli_error_list (object connection) +/* {{{ proto mixed mysqli_error_list(object connection) Fetches all client errors */ PHP_FUNCTION(mysqli_error_list) { @@ -497,7 +497,7 @@ PHP_FUNCTION(mysqli_stmt_error_list) } /* }}} */ -/* {{{ proto mixed mysqli_fetch_object (object result [, string class_name [, NULL|array ctor_params]]) +/* {{{ proto mixed mysqli_fetch_object(object result [, string class_name [, NULL|array ctor_params]]) Fetch a result row as an object */ PHP_FUNCTION(mysqli_fetch_object) { diff --git a/ext/shmop/shmop.c b/ext/shmop/shmop.c index 2beb981949..4bff43885b 100644 --- a/ext/shmop/shmop.c +++ b/ext/shmop/shmop.c @@ -142,7 +142,7 @@ PHP_MINFO_FUNCTION(shmop) } /* }}} */ -/* {{{ proto resource shmop_open (int key, string flags, int mode, int size) +/* {{{ proto resource shmop_open(int key, string flags, int mode, int size) gets and attaches a shared memory segment */ PHP_FUNCTION(shmop_open) { @@ -223,7 +223,7 @@ err: } /* }}} */ -/* {{{ proto string shmop_read (resource shmid, int start, int count) +/* {{{ proto string shmop_read(resource shmid, int start, int count) reads from a shm segment */ PHP_FUNCTION(shmop_read) { @@ -261,7 +261,7 @@ PHP_FUNCTION(shmop_read) } /* }}} */ -/* {{{ proto void shmop_close (resource shmid) +/* {{{ proto void shmop_close(resource shmid) closes a shared memory segment */ PHP_FUNCTION(shmop_close) { @@ -281,7 +281,7 @@ PHP_FUNCTION(shmop_close) } /* }}} */ -/* {{{ proto int shmop_size (resource shmid) +/* {{{ proto int shmop_size(resource shmid) returns the shm size */ PHP_FUNCTION(shmop_size) { @@ -300,7 +300,7 @@ PHP_FUNCTION(shmop_size) } /* }}} */ -/* {{{ proto int shmop_write (resource shmid, string data, int offset) +/* {{{ proto int shmop_write(resource shmid, string data, int offset) writes to a shared memory segment */ PHP_FUNCTION(shmop_write) { @@ -335,7 +335,7 @@ PHP_FUNCTION(shmop_write) } /* }}} */ -/* {{{ proto bool shmop_delete (resource shmid) +/* {{{ proto bool shmop_delete(resource shmid) mark segment for deletion */ PHP_FUNCTION(shmop_delete) { diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 877f05eadc..1e05df4a52 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -801,7 +801,7 @@ PHP_MINFO_FUNCTION(soap) } -/* {{{ proto object SoapParam::SoapParam ( mixed data, string name) +/* {{{ proto object SoapParam::SoapParam(mixed data, string name) SoapParam constructor */ PHP_METHOD(SoapParam, SoapParam) { @@ -825,7 +825,7 @@ PHP_METHOD(SoapParam, SoapParam) /* }}} */ -/* {{{ proto object SoapHeader::SoapHeader ( string namespace, string name [, mixed data [, bool mustUnderstand [, mixed actor]]]) +/* {{{ proto object SoapHeader::SoapHeader(string namespace, string name [, mixed data [, bool mustUnderstand [, mixed actor]]]) SoapHeader constructor */ PHP_METHOD(SoapHeader, SoapHeader) { @@ -867,7 +867,7 @@ PHP_METHOD(SoapHeader, SoapHeader) } } -/* {{{ proto object SoapFault::SoapFault ( string faultcode, string faultstring [, string faultactor [, mixed detail [, string faultname [, mixed headerfault]]]]) +/* {{{ proto object SoapFault::SoapFault(string faultcode, string faultstring [, string faultactor [, mixed detail [, string faultname [, mixed headerfault]]]]) SoapFault constructor */ PHP_METHOD(SoapFault, SoapFault) { @@ -919,7 +919,7 @@ PHP_METHOD(SoapFault, SoapFault) /* }}} */ -/* {{{ proto object SoapFault::SoapFault ( string faultcode, string faultstring [, string faultactor [, mixed detail [, string faultname [, mixed headerfault]]]]) +/* {{{ proto object SoapFault::SoapFault(string faultcode, string faultstring [, string faultactor [, mixed detail [, string faultname [, mixed headerfault]]]]) SoapFault constructor */ PHP_METHOD(SoapFault, __toString) { @@ -971,7 +971,7 @@ PHP_METHOD(SoapFault, __toString) } /* }}} */ -/* {{{ proto object SoapVar::SoapVar ( mixed data, int encoding [, string type_name [, string type_namespace [, string node_name [, string node_namespace]]]]) +/* {{{ proto object SoapVar::SoapVar(mixed data, int encoding [, string type_name [, string type_namespace [, string node_name [, string node_namespace]]]]) SoapVar constructor */ PHP_METHOD(SoapVar, SoapVar) { @@ -1118,7 +1118,7 @@ static HashTable* soap_create_typemap(sdlPtr sdl, HashTable *ht) } -/* {{{ proto object SoapServer::SoapServer ( mixed wsdl [, array options]) +/* {{{ proto object SoapServer::SoapServer(mixed wsdl [, array options]) SoapServer constructor */ PHP_METHOD(SoapServer, SoapServer) { @@ -1246,7 +1246,7 @@ PHP_METHOD(SoapServer, SoapServer) /* }}} */ -/* {{{ proto object SoapServer::setPersistence ( int mode ) +/* {{{ proto object SoapServer::setPersistence(int mode ) Sets persistence mode of SoapServer */ PHP_METHOD(SoapServer, setPersistence) { @@ -1493,7 +1493,7 @@ static void _soap_server_exception(soapServicePtr service, sdlFunctionPtr functi } /* }}} */ -/* {{{ proto void SoapServer::handle ( [string soap_request]) +/* {{{ proto void SoapServer::handle([string soap_request]) Handles a SOAP request */ PHP_METHOD(SoapServer, handle) { @@ -2266,7 +2266,7 @@ PHP_FUNCTION(is_soap_fault) /* SoapClient functions */ -/* {{{ proto object SoapClient::SoapClient ( mixed wsdl [, array options]) +/* {{{ proto object SoapClient::SoapClient(mixed wsdl [, array options]) SoapClient constructor */ PHP_METHOD(SoapClient, SoapClient) { @@ -2810,7 +2810,7 @@ static void verify_soap_headers_array(HashTable *ht) } -/* {{{ proto mixed SoapClient::__call ( string function_name, array arguments [, array options [, array input_headers [, array output_headers]]]) +/* {{{ proto mixed SoapClient::__call(string function_name, array arguments [, array options [, array input_headers [, array output_headers]]]) Calls a SOAP function */ PHP_METHOD(SoapClient, __call) { @@ -2917,7 +2917,7 @@ PHP_METHOD(SoapClient, __call) /* }}} */ -/* {{{ proto array SoapClient::__getFunctions ( void ) +/* {{{ proto array SoapClient::__getFunctions(void) Returns list of SOAP functions */ PHP_METHOD(SoapClient, __getFunctions) { @@ -2944,7 +2944,7 @@ PHP_METHOD(SoapClient, __getFunctions) /* }}} */ -/* {{{ proto array SoapClient::__getTypes ( void ) +/* {{{ proto array SoapClient::__getTypes(void) Returns list of SOAP types */ PHP_METHOD(SoapClient, __getTypes) { @@ -2973,7 +2973,7 @@ PHP_METHOD(SoapClient, __getTypes) /* }}} */ -/* {{{ proto string SoapClient::__getLastRequest ( void ) +/* {{{ proto string SoapClient::__getLastRequest(void) Returns last SOAP request */ PHP_METHOD(SoapClient, __getLastRequest) { @@ -2992,7 +2992,7 @@ PHP_METHOD(SoapClient, __getLastRequest) /* }}} */ -/* {{{ proto object SoapClient::__getLastResponse ( void ) +/* {{{ proto object SoapClient::__getLastResponse(void) Returns last SOAP response */ PHP_METHOD(SoapClient, __getLastResponse) { @@ -3121,7 +3121,7 @@ PHP_METHOD(SoapClient, __setCookie) } /* }}} */ -/* {{{ proto array SoapClient::__getCookies ( void ) +/* {{{ proto array SoapClient::__getCookies(void) Returns list of cookies */ PHP_METHOD(SoapClient, __getCookies) {