Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
Java
10.8K+ articles
PHP
3.9K+ articles
PHP-function
2.3K+ articles
PHP-ds_map
46 posts
Recent Articles
Popular Articles
PHP | Ds\Map remove() Function
Last Updated: 30 July 2019
The Ds\Map::remove() function is an inbuilt function in PHP which is used to remove and return a value by key.Syntax:mixed Ds\Map::remove( $key, $default )Parameters: This...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
PHP Ds\Map Functions Complete Reference
Last Updated: 25 January 2023
A Map is a sequential collection of key-value pair which is very similar to the array. The key of a map can be of any type and it is unique. If any value added to the same...
read more
Web Technologies
PHP
PHP-ds_map
PHP | Ds\Map capacity() Function
Last Updated: 20 August 2019
The Ds\Map::capacity() function is an inbuilt function in PHP, which is used to return the current capacity of the map.Syntax:int public Ds\Map::capacity( void )Parameter:...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
PHP | Ds\Map intersect() Function
Last Updated: 20 March 2023
The Ds\Map::intersect() function is an inbuilt function in PHP, which is used to create a new map which contains the intersection with another map. Syntax: public Ds\Map::...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
PHP | Ds\Map filter() Function
Last Updated: 20 March 2023
The Ds\Map::filter() function is an inbuilt function in PHP which is used to create a new map using the filter function. Syntax: public Ds\Map::filter( $callback )Paramete...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
PHP | Ds\Map diff() Function
Last Updated: 20 March 2023
The Ds\Map::diff() function is an inbuilt function in PHP which is used to create a map using the key which contains the elements of the first map which are not present in...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
PHP | Ds\Map __construct() Function
Last Updated: 20 August 2019
The Ds\Map::__construct() function is an inbuilt function in PHP which is used to creates a new instance.Syntax:public Ds\Map::__construct( $values )Parameter: This functi...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
PHP | Ds\Map allocate() Function
Last Updated: 20 August 2019
The Ds\Map::allocate() function is an inbuilt function in PHP which is used to allocate enough memory for required capacity.Syntax:void public Ds\Map::allocate( $capacity ...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
PHP | Ds\Map get() Function
Last Updated: 20 August 2019
The Ds\Map::get() function is an inbuilt function in PHP which is used to return the value of the given key.Syntax:mixed public Ds\Map::get( mixed $key[, mixed $default] )...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
PHP | Ds\Map count() Function
Last Updated: 20 August 2019
The Ds\Map::count() function is an inbuilt function in PHP which is used to count the number of elements present in the Map. It also referred to the size of the Map.Syntax...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
PHP | Ds\Map::ksort() Function
Last Updated: 20 August 2019
The Ds\Map::ksort() function is an inbuilt function in PHP, which is used to sort the map element in-place by key.Syntax:void public Ds\Map::ksort ([ callable $comparator ...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
PHP | Ds\Map union() Function
Last Updated: 29 April 2019
The Ds\Map::union() function is an inbuilt function in PHP which is used to create a new map which contains the union of two maps.Syntax:Ds\Map Ds\Map::union( $map )Parame...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
PHP | Ds\Map ksorted() Function
Last Updated: 20 August 2019
The Ds\Map::ksorted() function is an inbuilt function in PHP, which is used to returns a copy which is sorted by key.Syntax:Ds\Map public Ds\Map::ksorted ([ callable $comp...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
PHP | Ds\Map xor() Function
Last Updated: 21 August 2019
The Ds\Map::xor() function is an inbuilt function in PHP which is used to create a new map which contains the value either in the first map or second map but not both.Synt...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
PHP | Ds\Map merge() Function
Last Updated: 21 August 2019
The Ds\Map::merge() function is an inbuilt function in PHP which is used to return the result of adding all given associations.Syntax:Ds\Map public Ds\Map::merge( $values ...
read more
Web Technologies
PHP-function
PHP
PHP-ds_map
1
2
3
4
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !