mirror of
https://github.com/dg/dibi.git
synced 2025-08-05 05:37:39 +02:00
13 lines
209 B
PHP
13 lines
209 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Tester\Assert;
|
|
|
|
require __DIR__ . '/bootstrap.php';
|
|
|
|
$hash = new Dibi\HashMap(fn($v) => "b-$v-e");
|
|
|
|
Assert::same('b-X-e', $hash->{'X'});
|
|
Assert::same('b--e', $hash->{''});
|