定制 visma/functions 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

visma/functions

Composer 安装命令:

composer require visma/functions

包简介

Missing PHP functions

README 文档

README

Provides "missing PHP functions" that we frequently use.

Installation

Install using composer

composer require visma/functions

Functions

The following functions are provided by this library

all_in_array

Check if all the provided values exist in an array

Description

all_in_array ( array $needles , array $haystack [, bool $strict = FALSE ] ) : bool

Searches for needles in haystack using loose comparison unless strict is set.

array_is_assoc

Description

array_is_assoc ( array $array ) : bool

Checks if array has sequential integer keys (and therefore is a classic-non-associative array).

iterable_to_array

Description

iterable_to_array ( iterable $i [, bool $use_keys = TRUE ] ) : array

Copy the elements of an iterable i into an array.

mb_array_change_key_case

Description

mb_array_change_key_case (array $array [, int $mode = MB_CASE_LOWER [, ?string $enc = NULL ]]) : array

Returns an array with all keys from array case folded, converted in the way specified by mode. Numbered indices are left as is.

Parameters

mode

The mode parameter values are the same as in mb_convert_case.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Tests

Run the test suite using composer:

composer test

The following tests must pass:

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固