imagetruecolortopalette

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Convert a true color image to a palette image bool imagetruecolortopalette ( resource $image, bool $dither, int $ncolors ) imagetruecolortopalette() converts a truecolor image to a palette image. The code for this function was originally drawn from the Independent JPEG Group library code, which is excellent. The code has been modified to preserve as much alpha channel information as possible

fbsql_insert_id

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Get the id generated from the previous INSERT operation int fbsql_insert_id ([ resource $link_identifier ] ) Gets the id generated from the previous INSERT operation which created a DEFAULT UNIQUE value. Note: The value of the FrontBase SQL function fbsql_insert_id() always contains the most recently generated DEFAULT UNIQUE value, and is not reset between queries. Para

VarnishAdmin::__construct

(PECL varnish >= 0.3) VarnishAdmin constructor public VarnishAdmin::__construct ([ array $args ] ) Parameters: args Configuration arguments. The possible keys are: VARNISH_CONFIG_IDENT - local varnish instance ident VARNISH_CONFIG_HOST - varnish instance ip VARNISH_CONFIG_PORT - varnish instance port VARNISH_CONFIG_SECRET - varnish instance secret VARNISH_CONFIG_TIMEOU

XSLTProcessor::__construct

(PHP 5, PHP 7) Creates a new XSLTProcessor object XSLTProcessor::__construct ( void ) Creates a new XSLTProcessor object. Returns: No value is returned. Examples: Creating an XSLTProcessor <?php $xsldoc = new DOMDocument(); $xsldoc->load($xsl_filename); $xmldoc = new DOMDocument(); $xmldoc->load($xml_filename); $xsl = new XSLT

ldap_mod_add

(PHP 4, PHP 5, PHP 7) Add attribute values to current attributes bool ldap_mod_add ( resource $link_identifier, string $dn, array $entry ) Adds one or more attributes to the specified dn. It performs the modification at the attribute level as opposed to the object level. Object-level additions are done by the ldap_add() function. Parameters: link_identifier An LDAP link i

EvPeriodic::set

(PECL ev >= 0.2.0) Configures the watcher public void EvPeriodic::set ( double $offset , double $interval ) (Re-)Configures EvPeriodic watcher Parameters: offset The same meaning as for EvPeriodic::__construct() . See Periodic watcher operation modes interval The same meaning as for EvPeriodic::__construct() . See Periodic watcher

grapheme_strrpos

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Find position (in grapheme units) of last occurrence of a string int grapheme_strrpos ( string $haystack, string $needle [, int $offset = 0 ] ) Procedural style Find position (in grapheme units) of last occurrence of a string Parameters: haystack The string to look in. Must be valid UTF-8. needle

imagecreatefromjpeg

(PHP 4, PHP 5, PHP 7) Create a new image from file or URL resource imagecreatefromjpeg ( string $filename ) imagecreatefromjpeg() returns an image identifier representing the image obtained from the given filename. TipA URL can be used as a filename with this function if the fopen wrappers have been enabled. See fopen() for more details on how to specify the filename. See the Supported Protocols and Wrappers for links to i

for

(PHP 4, PHP 5, PHP 7) Examples: for loops are the most complex loops in PHP. They behave like their C counterparts. The syntax of a for loop is: for (expr1; expr2; expr3) statement The first expression (expr1) is evaluated (executed) once unconditionally at the beginning of the loop. In the beginning of each iteration, expr2 is evaluated. If it evaluate

SplType::__construct

(PECL spl_types >= 0.1.0) Creates a new value of some type SplType::__construct ([ mixed $initial_value [, bool $strict ]] ) Parameters: initial_value Type and default value depends on the extension class. strict Whether to set the object's sctrictness. This function is currently not documen