承接 foxworn3365/listdictionaries 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

foxworn3365/listdictionaries

Composer 安装命令:

composer require foxworn3365/listdictionaries

包简介

Use arrays and object in PHP as List<T> and Dictionary<T, T> in C#

README 文档

README

List<T> and Dictionary<T, T> in PHP

Install

You can install it on composer

composer require foxworn3365/listdictionaries

Examples

List

$list = PHPList::new("string|int", [
    "hello",
    "goodbye",
    "your name is owo"
]);

$list->where(fn($el) => strpos($el, "e"))->foreach(function ($el) {
    echo $el . PHP_EOL;
});

Result:

hello
your name is owo

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2024-01-12