00f100/array_dot

array_dot 方法用于遍历数组

0.2.1 2018-08-04 19:36 UTC

This package is auto-updated.

Last update: 2024-09-18 06:15:32 UTC


README

array_dot 方法用于遍历数组

Build Status codecov Total Downloads

如何安装

Composer

$ composer require 00f100/array_dot

或在 composer.json 中添加

{
    "require": {
        "00f100/array_dot": "*"
    }
}

如何使用

<?php

$array = [];

array_dot($array, 'config.item', 'content');

// Print: content
echo array_dot($array, 'config.item');