I have the following problem in PHP. In advance forgive me for my poor English.
I want to use the class Map in PHP, so I have installed the package php-ds/php-ds via composer. It installed perfectly, but when I use the class map, it produces an error.
SPECS PHP 7.4.0
CODE
<?php
$map = new \Ds\Map(["a" => 1, "b" => 2, "c" => 3]);
var_dump($map->get("a"));
var_dump($map->get("d", 10));
?>

