killertux/riterator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

killertux/riterator

最新稳定版本:0.5.2

Composer 安装命令:

composer require killertux/riterator

包简介

Rust iterators in PHP

README 文档

README

Have you ever wanted you could use an iterator in PHP that was very similar to that of Rust. Or maybe you just want a more powerful iterator in PHP. Maybe PHP iterators are giving you chills with all that rewind and key methods... Well, you just found what you were looking for.

RIterator (rust iterator) tries to implement an iterator that very closely resembles that of rust. To start, just add this project to your composer, extends the class RIterator\Iterator, and implement your next function.

First, I tried to add an Option class as we have in Rust. Then, I decided to remove it and use null because this is probably more PHP idiomatic. But, I am open to suggestions.

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-28