• PHP Video Tutorials

PHP - Ds Map values() Function


Advertisements

Ds\Map::values() function can return a sequence of the map's values.

Syntax

public Ds\Sequence Ds\Map::values( void )

Ds\Map::values() function can return a sequence containing all values of a map in the same order.

Ds\Map::values() function doesn't have any parameters.

Ds\Map::values() function can return Ds\Sequence containing all values of a map.

Example

<?php  
   $map = new \Ds\Map(["a" => "Tutorials", "b" => "Point", "c" => "India"]);  
   print_r($map->values()); 
  
   $map = new \Ds\Map(["b" => "Tutorix", "e" => "Hyderabad", "f" => "Ind"]);  
   print_r($map->values()); 
?>
php_function_reference.htm

Useful Video Courses


Video

PHP Online Training

45 Lectures 9 hours

Malhar Lathkar

Video

Become PHP Facebook Developer: Password-Less Authentication

34 Lectures 4 hours

Syed Raza

Video

Ultimate PHP & MySQL Web Development Course & OOP Coding

84 Lectures 5.5 hours

Frahaan Hussain

Video

Learn PHP from Scratch

17 Lectures 1 hours

Nivedita Jain

Video

E Commerce Website Development In PHP With PDO

100 Lectures 34 hours

Azaz Patel

Video

PHP in Telugu

43 Lectures 5.5 hours

Vijay Kumar Parvatha Reddy

Advertisements