The Ds\Map::map() function of the Map class in PHP is used to apply a callback function to a Map object. This returns the result of… Read More
Tag Archives: PHP-function
The Ds\Sequence::allocate() function is an inbuilt function in PHP which is used to allocate enough memory for required capacity. Syntax: void abstract public Ds\Sequence::allocate (… Read More
The Ds\Vector::apply() function is an inbuilt function in PHP which is used to update all values in the array by applying the callback function to… Read More
The Ds\Vector::get() function is an inbuilt function in PHP which is used to return the element at the given index. Syntax: mixed public Ds\Vector::get( $index… Read More
The Ds\Vector::insert() function is an inbuilt function in PHP which is used to insert the element into the vector at the given index. Syntax: void… Read More
The Ds\Vector::join() function is an inbuilt function in PHP which is used to join all the elements of vector as a string using the separator… Read More
The GmagickDraw::setfontweight() function is an inbuilt function in PHP which is used to set the font weight. Syntax: public GmagickDraw::setfontweight( $font_weight ) : GmagickDraw Parameters:… Read More
The GmagickDraw::setfontstyle() function is an inbuilt function in PHP which is used to set the font style to use when annotating with text. Style enumeration… Read More
The Ds\Vector::find() function is an inbuilt function in PHP which is used to find the index of the element in the vector. Syntax: mixed public… Read More
The GmagickDraw ::settextdecoration() function is an inbuilt function in PHP which is used to specify the decoration to be applied when annotating with text. Syntax:… Read More
The Ds\Vector::isEmpty() function is an inbuilt function in PHP which is used to check the vector is empty or not. Syntax: bool public Ds\Vector::isEmpty( void… Read More
The Gmagick::getreleasedate() function is an inbuilt function in PHP which is used to return the GraphicsMagick release date as a string. Syntax: string Gmagick::getreleasedate( void… Read More
The Ds\Vector::first() function is an inbuilt function in PHP which is used to find the first element in the vector. Syntax: mixed public Ds\Vector::first( void… Read More
The Ds\Vector::pop() function is an inbuilt function in PHP which is used to remove the last element of a vector and return it. Syntax: mixed… Read More
The Ds\Vector::filter() function is used to filter out the only elements which satisfy the condition defined in the callback function. After doing a filter on… Read More