Imagick::trimImage

(PECL imagick 2.0.0) Remove edges from the image bool Imagick::trimImage ( float $fuzz ) Remove edges that are the background color from the image. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer. Parameters: fuzz By default target must match a particular pixel color exactly. However, in many cases two colors may differ by

gettext

(PHP 4, PHP 5, PHP 7) Lookup a message in the current domain string gettext ( string $message ) Looks up a message in the current domain. Parameters: message The message being translated. Returns: Returns a translated string if one is found in the translation table, or the submitted message if not found. Notes

getservbyport

(PHP 4, PHP 5, PHP 7) Get Internet service which corresponds to port and protocol string getservbyport ( int $port, string $protocol ) getservbyport() returns the Internet service associated with port for the specified protocol as per /etc/services. Parameters: port The port number. protocol protocol is either "tcp" or "udp" (in lowerca

pg_field_type_oid

(PHP 5 >= 5.1.0, PHP 7) Returns the type ID (OID) for the corresponding field number int pg_field_type_oid ( resource $result, int $field_number ) pg_field_type_oid() returns an integer containing the OID of the base type of the given field_number in the given PostgreSQL result resource. You can get more information about the field type by querying PostgreSQL's pg_type system table using the OID obtained with this fun

PDF_set_text_matrix

(PHP 4 <= 4.0.4) Set text matrix [deprecated] This function is deprecated since PDFlib version 3, use PDF_scale(), PDF_translate(), PDF_rotate(), or PDF_skew() instead.

Gmagick::quantizeimage

(PECL gmagick >= Unknown) Analyzes the colors within a reference image public void Gmagick::quantizeimage ( int $numColors, int $colorspace, int $treeDepth, bool $dither, bool $measureError ) Analyzes the colors within a reference image and chooses a fixed number of colors to represent the image. The goal of the algorithm is to minimize the color difference between the input and output image while minimizing the processi

SNMP::getnext

(PHP 5 >= 5.4.0, PHP 7) Fetch an SNMP object which follows the given object id public mixed SNMP::getnext ( mixed $object_id ) Fetch an SNMP object that follows specified object_id. Parameters: object_id The SNMP object (OID) or objects Returns: Returns SNMP objects requested as string or array depending on object_id type or FALSE on error.

SolrQuery::__construct

(PECL solr >= 0.9.2) Constructor public SolrQuery::__construct ([ string $q ] ) Constructor. Parameters: q Optional search query Returns: None Exception: Emits SolrIllegalArgumentException in case of an invalid parameter was passed. Changelog: 2.0.0 If q was invalid, th

ldap_sasl_bind

(PHP 5, PHP 7) Bind to LDAP directory using SASL bool ldap_sasl_bind ( resource $link [, string $binddn = NULL [, string $password = NULL [, string $sasl_mech = NULL [, string $sasl_realm = NULL [, string $sasl_authc_id = NULL [, string $sasl_authz_id = NULL [, string $props = NULL ]]]]]]] ) Returns: Returns TRUE on success or FALSE on failure. This functi

cubrid_error_msg

(PECL CUBRID >= 8.3.0) Get last error message for the most recent function call string cubrid_error_msg ( void ) The cubrid_error_msg() function is used to get the error message that occurred during the use of CUBRID API. Usually, it gets error message when API returns false as its return value. Returns: Error message that occurred. Examples: